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.001263/0.001263, allocations: 104.5 kB / 16.41 MB, free: 6.398 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.001251/0.001251, allocations: 195.7 kB / 17.35 MB, free: 5.695 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7354 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.83 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.917/0.9185, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07955/0.9982, allocations: 72.76 MB / 1.279 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03005/1.028, allocations: 18.81 MB / 1.298 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004808/1.033, allocations: 91.5 kB / 1.298 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006289/1.039, allocations: 1.815 MB / 1.3 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007798/1.047, allocations: 2.518 MB / 1.302 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006227/1.054, allocations: 2.161 MB / 1.304 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01568/1.069, allocations: 10.95 MB / 1.315 GB, free: 168 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009354/1.079, allocations: 6.156 MB / 1.321 GB, free: 9.941 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008225/1.087, allocations: 3.357 MB / 1.324 GB, free: 6.574 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005317/1.092, allocations: 2.576 MB / 1.327 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/1.094, allocations: 268 kB / 1.327 GB, free: 3.727 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/1.099, allocations: 1.556 MB / 1.329 GB, free: 2.168 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00174/1.101, allocations: 0.9068 MB / 1.329 GB, free: 1.258 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004654/1.105, allocations: 1.955 MB / 1.331 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.115, allocations: 5.358 MB / 1.337 GB, free: 9.918 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.115, allocations: 0 / 1.337 GB, free: 9.918 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.475e-06/1.116, allocations: 0 / 1.337 GB, free: 9.918 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002238/1.116, allocations: 0 / 1.337 GB, free: 9.918 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.01202/1.128, allocations: 4.365 MB / 1.341 GB, free: 5.465 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.128, allocations: 8.031 kB / 1.341 GB, free: 5.457 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/1.132, allocations: 0.6745 MB / 1.342 GB, free: 4.777 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008884/1.14, allocations: 3.82 MB / 1.345 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/1.141, allocations: 135.2 kB / 1.345 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007475/1.141, allocations: 187.9 kB / 1.346 GB, free: 0.582 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005124/1.147, allocations: 2.356 MB / 1.348 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/1.147, allocations: 7.875 kB / 1.348 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/1.147, allocations: 68 kB / 1.348 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/1.147, allocations: 43.98 kB / 1.348 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/1.15, allocations: 1.908 MB / 1.35 GB, free: 12.03 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.01542/1.166, allocations: 11.5 MB / 1.361 GB, free: 40 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/1.169, allocations: 1.336 MB / 1.362 GB, free: 14.7 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/1.17, allocations: 1.014 MB / 1.363 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006697/1.177, allocations: 3.726 MB / 1.367 GB, free: 9.68 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/1.179, allocations: 0.7741 MB / 1.368 GB, free: 8.895 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001509/1.18, allocations: 246.7 kB / 1.368 GB, free: 8.652 MB / 1.092 GB Notification: Performance of pre-optimization done (n=94): time 7.284e-06/1.18, allocations: 0 / 1.368 GB, free: 8.652 MB / 1.092 GB Notification: Performance of matching and sorting (n=94): time 0.01292/1.193, allocations: 4.23 MB / 1.372 GB, free: 4.363 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/1.193, allocations: 68.41 kB / 1.372 GB, free: 4.285 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00637/1.2, allocations: 3.475 MB / 1.376 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003842/1.2, allocations: 57.7 kB / 1.376 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001573/1.202, allocations: 1.56 MB / 1.377 GB, free: 15.15 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/1.202, allocations: 347.2 kB / 1.377 GB, free: 14.8 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006672/1.203, allocations: 455.5 kB / 1.378 GB, free: 14.35 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.203, allocations: 301.1 kB / 1.378 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/1.205, allocations: 0.8722 MB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/1.207, allocations: 1.674 MB / 1.381 GB, free: 11.14 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/1.211, allocations: 2.267 MB / 1.383 GB, free: 8.652 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/1.211, allocations: 4 kB / 1.383 GB, free: 8.648 MB / 1.107 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007361/1.218, allocations: 3.346 MB / 1.386 GB, free: 5.277 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/1.218, allocations: 41.7 kB / 1.386 GB, free: 5.23 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/1.218, allocations: 16 kB / 1.386 GB, free: 5.215 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/1.22, allocations: 0.6845 MB / 1.387 GB, free: 4.523 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/1.222, allocations: 345.3 kB / 1.387 GB, free: 4.184 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/1.224, allocations: 1.913 MB / 1.389 GB, free: 2.219 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/1.227, allocations: 128.3 kB / 1.389 GB, free: 2.094 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/1.227, allocations: 95.95 kB / 1.389 GB, free: 2 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003052/1.23, allocations: 1.585 MB / 1.391 GB, free: 420 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002219/1.232, allocations: 1.641 MB / 1.392 GB, free: 14.41 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003408/1.236, allocations: 2.199 MB / 1.395 GB, free: 11.98 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.369e-05/1.236, allocations: 7.984 kB / 1.395 GB, free: 11.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006091/1.242, allocations: 3.227 MB / 1.398 GB, free: 8.703 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/1.242, allocations: 37.7 kB / 1.398 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/1.242, allocations: 16 kB / 1.398 GB, free: 8.645 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009307/1.243, allocations: 473.2 kB / 1.398 GB, free: 8.176 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.244, allocations: 349.3 kB / 1.399 GB, free: 7.836 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007854/1.252, allocations: 6.329 MB / 1.405 GB, free: 1.211 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/1.255, allocations: 140.8 kB / 1.405 GB, free: 1.074 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.255, allocations: 87.97 kB / 1.405 GB, free: 0.9883 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.000736/1.256, allocations: 295 kB / 1.405 GB, free: 0.6953 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.257, allocations: 339.7 kB / 1.406 GB, free: 368 kB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005869/1.263, allocations: 2.463 MB / 1.408 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/1.263, allocations: 19.94 kB / 1.408 GB, free: 13.85 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/1.263, allocations: 0 / 1.408 GB, free: 13.85 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003749/1.267, allocations: 2.07 MB / 1.41 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009903/1.277, allocations: 4.584 MB / 1.415 GB, free: 7.043 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.277, allocations: 3.938 kB / 1.415 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000936/1.278, allocations: 173.7 kB / 1.415 GB, free: 6.871 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/1.279, allocations: 476.8 kB / 1.415 GB, free: 6.398 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/1.279, allocations: 35.92 kB / 1.415 GB, free: 6.363 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/1.281, allocations: 1.85 MB / 1.417 GB, free: 4.461 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.281, allocations: 8.062 kB / 1.417 GB, free: 4.453 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006399/1.287, allocations: 3.179 MB / 1.42 GB, free: 1.234 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.289, allocations: 0.5318 MB / 1.421 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008521/1.29, allocations: 23.98 kB / 1.421 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/1.291, allocations: 79.84 kB / 1.421 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.292, allocations: 80.89 kB / 1.421 GB, free: 0.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.292, allocations: 43.97 kB / 1.421 GB, free: 468 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.004791/1.297, allocations: 2.355 MB / 1.423 GB, free: 14.09 MB / 1.154 GB Notification: Performance of sort global known variables: time 3e-07/1.297, allocations: 0 / 1.423 GB, free: 14.09 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005329/1.302, allocations: 1.501 MB / 1.425 GB, free: 12.59 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.001715/1.304, allocations: 0.5954 MB / 1.425 GB, free: 11.99 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007684/1.311, allocations: 3.715 MB / 1.429 GB, free: 8.234 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/1.311, allocations: 3.938 kB / 1.429 GB, free: 8.23 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/1.313, allocations: 0.8122 MB / 1.43 GB, free: 7.422 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007789/1.321, allocations: 1.454 MB / 1.431 GB, free: 5.992 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.335, allocations: 6.03 MB / 1.437 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/1.337, allocations: 2.241 MB / 1.439 GB, free: 13.65 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009872/1.338, allocations: 247.3 kB / 1.439 GB, free: 13.41 MB / 1.17 GB Notification: Performance of SimCode: time 1.303e-06/1.338, allocations: 4 kB / 1.439 GB, free: 13.4 MB / 1.17 GB Notification: Performance of Templates: time 0.1096/1.447, allocations: 84.74 MB / 1.522 GB, free: 9.012 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