Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001455/0.001455, allocations: 101.8 kB / 16.41 MB, free: 6.512 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.001481/0.001481, allocations: 187 kB / 17.34 MB, free: 5.742 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.581/2.581, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 1.055 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7884/0.7898, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.08161/0.8714, allocations: 72.75 MB / 1.279 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02908/0.9005, allocations: 18.83 MB / 1.298 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.904, allocations: 95.44 kB / 1.298 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005719/0.9098, allocations: 1.811 MB / 1.3 GB, free: 12 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007776/0.9176, allocations: 2.514 MB / 1.302 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005927/0.9235, allocations: 2.172 MB / 1.304 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01616/0.9397, allocations: 10.95 MB / 1.315 GB, free: 364 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009603/0.9493, allocations: 6.164 MB / 1.321 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008251/0.9576, allocations: 3.352 MB / 1.324 GB, free: 6.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005267/0.9629, allocations: 2.58 MB / 1.327 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001322/0.9643, allocations: 268 kB / 1.327 GB, free: 3.914 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005309/0.9696, allocations: 1.556 MB / 1.329 GB, free: 2.355 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001904/0.9716, allocations: 0.9029 MB / 1.329 GB, free: 1.449 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004764/0.9763, allocations: 1.959 MB / 1.331 GB, free: 15.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.9876, allocations: 5.347 MB / 1.337 GB, free: 10.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.9877, allocations: 0 / 1.337 GB, free: 10.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.986e-06/0.9877, allocations: 0 / 1.337 GB, free: 10.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002664/0.9879, allocations: 0 / 1.337 GB, free: 10.12 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.01668/1.005, allocations: 4.373 MB / 1.341 GB, free: 5.656 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.652e-05/1.005, allocations: 8.031 kB / 1.341 GB, free: 5.648 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/1.009, allocations: 0.6745 MB / 1.342 GB, free: 4.969 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00909/1.018, allocations: 3.808 MB / 1.345 GB, free: 1.102 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/1.018, allocations: 143.2 kB / 1.345 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007332/1.019, allocations: 187.9 kB / 1.346 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00584/1.025, allocations: 2.352 MB / 1.348 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.727e-05/1.025, allocations: 7.938 kB / 1.348 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/1.025, allocations: 68 kB / 1.348 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/1.025, allocations: 40 kB / 1.348 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004267/1.03, allocations: 1.911 MB / 1.35 GB, free: 12.23 MB / 1.076 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.01737/1.047, allocations: 11.49 MB / 1.361 GB, free: 244 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/1.05, allocations: 1.34 MB / 1.362 GB, free: 14.89 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00176/1.052, allocations: 1.022 MB / 1.363 GB, free: 13.86 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007401/1.059, allocations: 3.722 MB / 1.367 GB, free: 9.871 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/1.061, allocations: 0.7741 MB / 1.368 GB, free: 9.086 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001766/1.063, allocations: 242.7 kB / 1.368 GB, free: 8.848 MB / 1.092 GB Notification: Performance of pre-optimization done (n=94): time 6.692e-06/1.063, allocations: 0 / 1.368 GB, free: 8.848 MB / 1.092 GB Notification: Performance of matching and sorting (n=94): time 0.0123/1.075, allocations: 4.234 MB / 1.372 GB, free: 4.555 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/1.075, allocations: 68.39 kB / 1.372 GB, free: 4.477 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006643/1.082, allocations: 3.475 MB / 1.376 GB, free: 0.9766 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003091/1.082, allocations: 61.69 kB / 1.376 GB, free: 0.9102 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001875/1.084, allocations: 1.56 MB / 1.377 GB, free: 15.34 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005152/1.085, allocations: 343.2 kB / 1.377 GB, free: 15 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/1.086, allocations: 451.5 kB / 1.378 GB, free: 14.55 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.086, allocations: 305.1 kB / 1.378 GB, free: 14.25 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/1.088, allocations: 0.8644 MB / 1.379 GB, free: 13.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/1.09, allocations: 1.674 MB / 1.381 GB, free: 11.34 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/1.094, allocations: 2.267 MB / 1.383 GB, free: 8.852 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/1.094, allocations: 4 kB / 1.383 GB, free: 8.848 MB / 1.107 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007484/1.101, allocations: 3.346 MB / 1.386 GB, free: 5.477 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/1.102, allocations: 45.7 kB / 1.386 GB, free: 5.426 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.119e-05/1.102, allocations: 12 kB / 1.386 GB, free: 5.414 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/1.104, allocations: 0.6843 MB / 1.387 GB, free: 4.723 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.106, allocations: 353.3 kB / 1.387 GB, free: 4.375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/1.108, allocations: 1.909 MB / 1.389 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/1.11, allocations: 124.3 kB / 1.389 GB, free: 2.293 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/1.111, allocations: 95.95 kB / 1.389 GB, free: 2.199 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003356/1.114, allocations: 1.585 MB / 1.391 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002387/1.117, allocations: 1.637 MB / 1.392 GB, free: 14.61 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003523/1.12, allocations: 2.21 MB / 1.395 GB, free: 12.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.99e-05/1.12, allocations: 4 kB / 1.395 GB, free: 12.17 MB / 1.123 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006105/1.126, allocations: 3.213 MB / 1.398 GB, free: 8.91 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/1.126, allocations: 41.69 kB / 1.398 GB, free: 8.863 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/1.126, allocations: 16.91 kB / 1.398 GB, free: 8.848 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009565/1.127, allocations: 481.1 kB / 1.398 GB, free: 8.371 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.129, allocations: 345.3 kB / 1.399 GB, free: 8.035 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007566/1.136, allocations: 6.337 MB / 1.405 GB, free: 1.402 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/1.139, allocations: 136.8 kB / 1.405 GB, free: 1.27 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/1.139, allocations: 91.95 kB / 1.405 GB, free: 1.18 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0006709/1.14, allocations: 296.1 kB / 1.405 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009884/1.141, allocations: 335.7 kB / 1.406 GB, free: 0.5508 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005521/1.147, allocations: 2.463 MB / 1.408 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/1.147, allocations: 19.94 kB / 1.408 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.147, allocations: 0 / 1.408 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003635/1.15, allocations: 2.074 MB / 1.41 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.161, allocations: 4.577 MB / 1.415 GB, free: 7.238 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.161, allocations: 11.88 kB / 1.415 GB, free: 7.227 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009164/1.162, allocations: 165.8 kB / 1.415 GB, free: 7.066 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/1.163, allocations: 480.7 kB / 1.415 GB, free: 6.59 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.163, allocations: 35.97 kB / 1.415 GB, free: 6.555 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/1.165, allocations: 1.854 MB / 1.417 GB, free: 4.648 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.165, allocations: 0 / 1.417 GB, free: 4.648 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006886/1.172, allocations: 3.183 MB / 1.42 GB, free: 1.426 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.174, allocations: 0.524 MB / 1.421 GB, free: 0.8789 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.175, allocations: 24 kB / 1.421 GB, free: 0.8555 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.177, allocations: 87.77 kB / 1.421 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.177, allocations: 76.89 kB / 1.421 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.177, allocations: 47.97 kB / 1.421 GB, free: 0.6484 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00506/1.182, allocations: 2.351 MB / 1.423 GB, free: 14.28 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.91e-07/1.182, allocations: 0 / 1.423 GB, free: 14.28 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005151/1.188, allocations: 1.505 MB / 1.425 GB, free: 12.77 MB / 1.154 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 (78): * Single equations (assignments): 70 * 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.001588/1.189, allocations: 0.6017 MB / 1.425 GB, free: 12.18 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007182/1.196, allocations: 3.719 MB / 1.429 GB, free: 8.418 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.196, allocations: 0 / 1.429 GB, free: 8.418 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/1.198, allocations: 0.8044 MB / 1.43 GB, free: 7.617 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006747/1.205, allocations: 1.461 MB / 1.431 GB, free: 6.18 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/1.218, allocations: 6.018 MB / 1.437 GB, free: 116 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002697/1.221, allocations: 2.237 MB / 1.439 GB, free: 13.85 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.222, allocations: 255.2 kB / 1.439 GB, free: 13.6 MB / 1.17 GB Notification: Performance of SimCode: time 1.042e-06/1.222, allocations: 0 / 1.439 GB, free: 13.6 MB / 1.17 GB Notification: Performance of Templates: time 0.122/1.344, allocations: 84.75 MB / 1.522 GB, free: 9.199 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches