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.00655/0.00655, allocations: 101 kB / 15.73 MB, free: 6.473 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.001518/0.001518, allocations: 195 kB / 16.67 MB, free: 6.379 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.385/2.385, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.59 kB / 0.9508 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2913, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06529/0.3566, allocations: 72.34 MB / 1.159 GB, free: 8.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02433/0.381, allocations: 17.01 MB / 1.175 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004027/0.3851, allocations: 95.5 kB / 1.175 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003417/0.3885, allocations: 1.002 MB / 1.176 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007372/0.3959, allocations: 2.356 MB / 1.179 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00556/0.4015, allocations: 2.083 MB / 1.181 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.4116, allocations: 8.044 MB / 1.188 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007464/0.4191, allocations: 6.121 MB / 1.194 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007025/0.4262, allocations: 3.282 MB / 1.198 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004335/0.4305, allocations: 2.505 MB / 1.2 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005587/0.4311, allocations: 256 kB / 1.2 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.4342, allocations: 1.369 MB / 1.202 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007174/0.4349, allocations: 0.7666 MB / 1.202 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.4369, allocations: 1.772 MB / 1.204 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005209/0.4421, allocations: 4.759 MB / 1.209 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4422, allocations: 0 / 1.209 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4422, allocations: 0 / 1.209 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.818e-05/0.4422, allocations: 0 / 1.209 GB, free: 5.277 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.006545/0.4488, allocations: 3.939 MB / 1.213 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4488, allocations: 8.031 kB / 1.213 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.4516, allocations: 0.6359 MB / 1.213 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005041/0.4567, allocations: 2.787 MB / 1.216 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.616e-05/0.4568, allocations: 135.1 kB / 1.216 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.4571, allocations: 184 kB / 1.216 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003593/0.4607, allocations: 2.364 MB / 1.219 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.4607, allocations: 7.938 kB / 1.219 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.4609, allocations: 64 kB / 1.219 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.4609, allocations: 40 kB / 1.219 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/0.4644, allocations: 1.908 MB / 1.221 GB, free: 8.898 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.01336/0.4778, allocations: 11.14 MB / 1.231 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/0.4806, allocations: 1.377 MB / 1.233 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.4823, allocations: 1.032 MB / 1.234 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005705/0.488, allocations: 3.666 MB / 1.237 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.4894, allocations: 0.7975 MB / 1.238 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009806/0.4904, allocations: 230.8 kB / 1.238 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 4.989e-06/0.4904, allocations: 3.984 kB / 1.238 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.01154/0.502, allocations: 4.23 MB / 1.243 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.5021, allocations: 64.41 kB / 1.243 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/0.5055, allocations: 2.884 MB / 1.245 GB, free: 14.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.5057, allocations: 53.7 kB / 1.245 GB, free: 14.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.5068, allocations: 1.426 MB / 1.247 GB, free: 13.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.5071, allocations: 335.2 kB / 1.247 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/0.5076, allocations: 355.6 kB / 1.247 GB, free: 12.42 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.5077, allocations: 301.1 kB / 1.248 GB, free: 12.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.509, allocations: 0.7043 MB / 1.248 GB, free: 11.42 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.5109, allocations: 1.452 MB / 1.25 GB, free: 9.617 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003665/0.5146, allocations: 1.962 MB / 1.252 GB, free: 7.441 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.5147, allocations: 4 kB / 1.252 GB, free: 7.438 MB / 1.014 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007378/0.522, allocations: 2.882 MB / 1.255 GB, free: 4.531 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/0.5221, allocations: 37.7 kB / 1.255 GB, free: 4.488 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.5222, allocations: 16 kB / 1.255 GB, free: 4.473 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/0.5247, allocations: 0.696 MB / 1.255 GB, free: 3.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.526, allocations: 309 kB / 1.256 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.528, allocations: 1.897 MB / 1.257 GB, free: 1.516 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.5301, allocations: 109 kB / 1.258 GB, free: 1.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.5303, allocations: 95.88 kB / 1.258 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002608/0.5329, allocations: 1.296 MB / 1.259 GB, free: 16 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.5992/1.132, allocations: 1.404 MB / 1.26 GB, free: 162.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003289/1.135, allocations: 1.852 MB / 1.262 GB, free: 162.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.24e-05/1.136, allocations: 8.188 kB / 1.262 GB, free: 162.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005873/1.141, allocations: 2.73 MB / 1.265 GB, free: 161.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/1.141, allocations: 39.12 kB / 1.265 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/1.142, allocations: 15.44 kB / 1.265 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/1.143, allocations: 478 kB / 1.265 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.144, allocations: 292.2 kB / 1.266 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007408/1.151, allocations: 6.332 MB / 1.272 GB, free: 157.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/1.154, allocations: 121.4 kB / 1.272 GB, free: 157.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/1.154, allocations: 81.58 kB / 1.272 GB, free: 157.1 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.0004806/1.154, allocations: 289.9 kB / 1.272 GB, free: 156.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/1.155, allocations: 296.3 kB / 1.273 GB, free: 156.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005529/1.161, allocations: 2.481 MB / 1.275 GB, free: 156 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.809e-05/1.161, allocations: 13.03 kB / 1.275 GB, free: 156 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.161, allocations: 0.75 kB / 1.275 GB, free: 156 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003852/1.164, allocations: 2.107 MB / 1.277 GB, free: 155 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008553/1.173, allocations: 4.418 MB / 1.281 GB, free: 153.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.173, allocations: 1.031 kB / 1.281 GB, free: 153.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009369/1.174, allocations: 183.5 kB / 1.282 GB, free: 153.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/1.175, allocations: 475.8 kB / 1.282 GB, free: 153 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-05/1.175, allocations: 33.09 kB / 1.282 GB, free: 153 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001569/1.177, allocations: 1.856 MB / 1.284 GB, free: 151.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.177, allocations: 1.406 kB / 1.284 GB, free: 151.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006071/1.183, allocations: 3.191 MB / 1.287 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.184, allocations: 485.8 kB / 1.287 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/1.185, allocations: 34.98 kB / 1.287 GB, free: 150 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.186, allocations: 71.69 kB / 1.287 GB, free: 150 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/1.186, allocations: 79.5 kB / 1.288 GB, free: 150 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.186, allocations: 53.09 kB / 1.288 GB, free: 150 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003296/1.19, allocations: 1.969 MB / 1.29 GB, free: 149.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.19, allocations: 0 / 1.29 GB, free: 149.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004203/1.194, allocations: 1.351 MB / 1.291 GB, free: 149.2 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.001134/1.195, allocations: 463.5 kB / 1.291 GB, free: 149.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006589/1.201, allocations: 3.249 MB / 1.294 GB, free: 147.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.202, allocations: 1.312 kB / 1.294 GB, free: 147.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/1.203, allocations: 0.8152 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.005739/1.209, allocations: 1.257 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.008441/1.217, allocations: 5.151 MB / 1.302 GB, free: 144.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/1.219, allocations: 2.06 MB / 1.304 GB, free: 143.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002612/1.221, allocations: 0.6815 MB / 1.304 GB, free: 143.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/1.222, allocations: 218.8 kB / 1.304 GB, free: 143.7 MB / 1.014 GB Notification: Performance of SimCode: time 7.82e-07/1.222, allocations: 0 / 1.304 GB, free: 143.7 MB / 1.014 GB Notification: Performance of Templates: time 0.07436/1.296, allocations: 55.1 MB / 1.358 GB, free: 94.82 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