Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004738/0.004738, allocations: 102.6 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 193.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59 kB / 0.9508 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2831, allocations: 140.4 MB / 1.088 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06304/0.3461, allocations: 72.34 MB / 1.159 GB, free: 9.031 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02604/0.3722, allocations: 17.02 MB / 1.175 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004007/0.3763, allocations: 87.5 kB / 1.175 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003522/0.3798, allocations: 1.002 MB / 1.176 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006924/0.3868, allocations: 2.367 MB / 1.179 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005116/0.3919, allocations: 2.058 MB / 1.181 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.009076/0.401, allocations: 8.052 MB / 1.188 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007161/0.4082, allocations: 6.109 MB / 1.194 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007248/0.4155, allocations: 3.364 MB / 1.198 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00515/0.4207, allocations: 2.501 MB / 1.2 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000906/0.4216, allocations: 256 kB / 1.2 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00479/0.4264, allocations: 1.373 MB / 1.202 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.4275, allocations: 0.7627 MB / 1.202 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.4307, allocations: 1.772 MB / 1.204 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007349/0.4381, allocations: 4.755 MB / 1.209 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4381, allocations: 4 kB / 1.209 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4382, allocations: 0 / 1.209 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.839e-05/0.4382, allocations: 0 / 1.209 GB, free: 5.375 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.00689/0.4451, allocations: 3.939 MB / 1.213 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4452, allocations: 8.031 kB / 1.213 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/0.4479, allocations: 0.6281 MB / 1.213 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005389/0.4533, allocations: 2.791 MB / 1.216 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.764e-05/0.4534, allocations: 139.1 kB / 1.216 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.4537, allocations: 191.9 kB / 1.216 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003652/0.4574, allocations: 2.353 MB / 1.219 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.4574, allocations: 7.938 kB / 1.219 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.4576, allocations: 68 kB / 1.219 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.4576, allocations: 40 kB / 1.219 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.4611, allocations: 1.908 MB / 1.221 GB, free: 8.996 MB / 0.9825 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.01315/0.4742, allocations: 11.14 MB / 1.232 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.477, allocations: 1.385 MB / 1.233 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.4786, allocations: 1.029 MB / 1.234 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005788/0.4844, allocations: 3.673 MB / 1.237 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001472/0.4859, allocations: 0.7897 MB / 1.238 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001087/0.487, allocations: 238.8 kB / 1.238 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 3.035e-06/0.487, allocations: 4 kB / 1.238 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.01158/0.4986, allocations: 4.223 MB / 1.243 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.4986, allocations: 64.41 kB / 1.243 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/0.5023, allocations: 2.887 MB / 1.245 GB, free: 14.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.5024, allocations: 57.69 kB / 1.246 GB, free: 14.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.5036, allocations: 1.414 MB / 1.247 GB, free: 13.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.5039, allocations: 343.2 kB / 1.247 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005045/0.5044, allocations: 351.6 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.5045, allocations: 305.1 kB / 1.248 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.5059, allocations: 0.7082 MB / 1.249 GB, free: 11.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.5078, allocations: 1.448 MB / 1.25 GB, free: 9.707 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.5109, allocations: 1.958 MB / 1.252 GB, free: 7.535 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.5109, allocations: 11.94 kB / 1.252 GB, free: 7.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006111/0.517, allocations: 2.874 MB / 1.255 GB, free: 4.625 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.5171, allocations: 41.69 kB / 1.255 GB, free: 4.578 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.5171, allocations: 12 kB / 1.255 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.5194, allocations: 0.6887 MB / 1.255 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.5207, allocations: 317 kB / 1.256 GB, free: 3.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.5225, allocations: 1.893 MB / 1.258 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.5246, allocations: 109 kB / 1.258 GB, free: 1.508 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.5248, allocations: 95.88 kB / 1.258 GB, free: 1.414 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002335/0.5272, allocations: 1.292 MB / 1.259 GB, free: 120 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.7348/1.262, allocations: 1.406 MB / 1.26 GB, free: 162.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003278/1.265, allocations: 1.857 MB / 1.262 GB, free: 162.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.176e-05/1.265, allocations: 4.406 kB / 1.262 GB, free: 162.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.006086/1.271, allocations: 2.737 MB / 1.265 GB, free: 161.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/1.271, allocations: 40.25 kB / 1.265 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/1.272, allocations: 15.03 kB / 1.265 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.273, allocations: 479.5 kB / 1.265 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/1.274, allocations: 290.9 kB / 1.266 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007782/1.282, allocations: 6.325 MB / 1.272 GB, free: 157.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/1.284, allocations: 124.4 kB / 1.272 GB, free: 157.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/1.284, allocations: 77.62 kB / 1.272 GB, free: 157.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * 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,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005325/1.285, allocations: 292.6 kB / 1.272 GB, free: 156.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006389/1.286, allocations: 294.2 kB / 1.273 GB, free: 156.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005497/1.291, allocations: 2.477 MB / 1.275 GB, free: 156.1 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.291, allocations: 12.33 kB / 1.275 GB, free: 156.1 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.291, allocations: 0.5156 kB / 1.275 GB, free: 156.1 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003733/1.295, allocations: 2.109 MB / 1.277 GB, free: 155.1 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008897/1.304, allocations: 4.428 MB / 1.281 GB, free: 153.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.304, allocations: 0.875 kB / 1.281 GB, free: 153.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009143/1.305, allocations: 187.9 kB / 1.282 GB, free: 153.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/1.306, allocations: 477.2 kB / 1.282 GB, free: 153.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/1.306, allocations: 33.23 kB / 1.282 GB, free: 153.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/1.308, allocations: 1.849 MB / 1.284 GB, free: 151.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.308, allocations: 4.969 kB / 1.284 GB, free: 151.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006303/1.314, allocations: 3.19 MB / 1.287 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.315, allocations: 491.3 kB / 1.287 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/1.316, allocations: 25.88 kB / 1.287 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/1.317, allocations: 72.41 kB / 1.288 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.317, allocations: 81.05 kB / 1.288 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.317, allocations: 43.48 kB / 1.288 GB, free: 150.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003293/1.321, allocations: 1.968 MB / 1.29 GB, free: 149.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.91e-07/1.321, allocations: 1.094 kB / 1.29 GB, free: 149.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004115/1.325, allocations: 1.353 MB / 1.291 GB, free: 149.3 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/1.326, allocations: 472.4 kB / 1.291 GB, free: 149.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006856/1.333, allocations: 3.247 MB / 1.295 GB, free: 147.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.333, allocations: 0 / 1.295 GB, free: 147.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001865/1.335, allocations: 0.8114 MB / 1.295 GB, free: 147.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005764/1.341, allocations: 1.253 MB / 1.297 GB, free: 147.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009771/1.351, allocations: 5.154 MB / 1.302 GB, free: 144.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/1.352, allocations: 2.064 MB / 1.304 GB, free: 144 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.003078/1.355, allocations: 0.6796 MB / 1.304 GB, free: 143.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004751/1.356, allocations: 222.5 kB / 1.304 GB, free: 143.8 MB / 1.014 GB Notification: Performance of SimCode: time 1.422e-06/1.356, allocations: 0 / 1.304 GB, free: 143.8 MB / 1.014 GB Notification: Performance of Templates: time 0.08281/1.439, allocations: 56.18 MB / 1.359 GB, free: 93.91 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches