Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 87.69 kB / 20.24 MB, free: 4.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.839/2.839, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.043e-05, allocations: 5.766 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2396/0.2396, allocations: 167.3 MB / 0.9498 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007756/0.2474, allocations: 4.375 MB / 0.9541 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.2483, allocations: 31.75 kB / 0.9541 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.2497, allocations: 341.8 kB / 0.9544 GB, free: 200 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.005114/0.2548, allocations: 1.313 MB / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.2574, allocations: 0.8295 MB / 0.9565 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002591/0.26, allocations: 1.76 MB / 0.9582 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008192/0.2608, allocations: 460.3 kB / 0.9587 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.2626, allocations: 0.9387 MB / 0.9596 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.264, allocations: 0.5356 MB / 0.9601 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.2641, allocations: 64 kB / 0.9602 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.2658, allocations: 0.6815 MB / 0.9608 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003865/0.2662, allocations: 303.1 kB / 0.9611 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.2666, allocations: 299.4 kB / 0.9614 GB, free: 9.02 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.269, allocations: 1.297 MB / 0.9627 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.269, allocations: 0 / 0.9627 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.463e-06/0.269, allocations: 4 kB / 0.9627 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.2691, allocations: 0 / 0.9627 GB, free: 7.715 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002215/0.2713, allocations: 1.13 MB / 0.9638 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2713, allocations: 12.03 kB / 0.9638 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.2725, allocations: 231.1 kB / 0.964 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2735, allocations: 0.4976 MB / 0.9645 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.2736, allocations: 45.3 kB / 0.9645 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2737, allocations: 59.94 kB / 0.9646 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.2751, allocations: 0.9469 MB / 0.9655 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.2751, allocations: 7.938 kB / 0.9655 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.2752, allocations: 23.98 kB / 0.9655 GB, free: 4.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-05/0.2752, allocations: 21.31 kB / 0.9656 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008173/0.276, allocations: 365 kB / 0.9659 GB, free: 4.211 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/0.2798, allocations: 1.835 MB / 0.9677 GB, free: 2.324 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.2803, allocations: 217.8 kB / 0.9679 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.2805, allocations: 95.98 kB / 0.968 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.2806, allocations: 11.94 kB / 0.968 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.2806, allocations: 41.39 kB / 0.9681 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 2.264e-06/0.2806, allocations: 0 / 0.9681 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20): time 0.001791/0.2824, allocations: 434 kB / 0.9685 GB, free: 1.504 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/0.2825, allocations: 77.11 kB / 0.9685 GB, free: 1.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007716/0.2832, allocations: 0.5376 MB / 0.9691 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.2833, allocations: 29.7 kB / 0.9691 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.2837, allocations: 414.5 kB / 0.9695 GB, free: 424 kB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.2838, allocations: 87.3 kB / 0.9696 GB, free: 336 kB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.2839, allocations: 83.64 kB / 0.9697 GB, free: 244 kB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003977/0.2843, allocations: 0.5509 MB / 0.9702 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.2846, allocations: 84.61 kB / 0.9703 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.2849, allocations: 239.4 kB / 0.9705 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.2854, allocations: 288.7 kB / 0.9708 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2854, allocations: 0 / 0.9708 GB, free: 14.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009268/0.2864, allocations: 405.7 kB / 0.9712 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2864, allocations: 14.62 kB / 0.9712 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2864, allocations: 0 / 0.9712 GB, free: 14.56 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003354/0.2867, allocations: 83.31 kB / 0.9713 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.2871, allocations: 71.84 kB / 0.9713 GB, free: 14.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00407/0.2912, allocations: 3.91 MB / 0.9751 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.2916, allocations: 27.78 kB / 0.9752 GB, free: 10.21 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.2917, allocations: 19.98 kB / 0.9752 GB, free: 10.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004838/0.2921, allocations: 224.5 kB / 0.9754 GB, free: 9.965 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2923, allocations: 59.66 kB / 0.9755 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.586e-05/0.2924, allocations: 43.69 kB / 0.9755 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2924, allocations: 0 / 0.9755 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2924, allocations: 4 kB / 0.9755 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007299/0.2931, allocations: 479.2 kB / 0.976 GB, free: 9.32 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.2945, allocations: 0.8554 MB / 0.9768 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.2945, allocations: 4 kB / 0.9768 GB, free: 8.406 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.2947, allocations: 39.91 kB / 0.9768 GB, free: 8.367 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.295, allocations: 55.64 kB / 0.9769 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.295, allocations: 8 kB / 0.9769 GB, free: 8.301 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.2972, allocations: 2.1 MB / 0.979 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2972, allocations: 0 / 0.979 GB, free: 6.078 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.2979, allocations: 432.4 kB / 0.9794 GB, free: 5.625 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.2981, allocations: 79.67 kB / 0.9794 GB, free: 5.547 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.2982, allocations: 3.984 kB / 0.9794 GB, free: 5.543 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.2986, allocations: 13.22 kB / 0.9795 GB, free: 5.531 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.2987, allocations: 23.95 kB / 0.9795 GB, free: 5.508 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.2987, allocations: 20.02 kB / 0.9795 GB, free: 5.488 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004327/0.2992, allocations: 335.1 kB / 0.9798 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.2992, allocations: 0 / 0.9798 GB, free: 5.16 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007333/0.2999, allocations: 219.6 kB / 0.98 GB, free: 4.945 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003438/0.3002, allocations: 167.1 kB / 0.9802 GB, free: 4.773 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.3012, allocations: 0.5813 MB / 0.9808 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3013, allocations: 0.5625 kB / 0.9808 GB, free: 4.152 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004202/0.3017, allocations: 305.9 kB / 0.981 GB, free: 3.832 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.3031, allocations: 277.8 kB / 0.9813 GB, free: 3.57 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.305, allocations: 0.9214 MB / 0.9822 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.3054, allocations: 302.2 kB / 0.9825 GB, free: 2.289 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003393/0.3057, allocations: 88.11 kB / 0.9826 GB, free: 2.199 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.3058, allocations: 40.48 kB / 0.9826 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of SimCode: time 1.092e-06/0.3058, allocations: 0 / 0.9826 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of Templates: time 0.02164/0.3274, allocations: 10.69 MB / 0.9931 GB, free: 7.742 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.775205351994373]