Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005358/0.005358, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001234/0.001234, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 71.83 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7911, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.242/1.033, allocations: 237.6 MB / 1.44 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02107/1.054, allocations: 15.79 MB / 1.455 GB, free: 15.35 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/1.057, allocations: 59.62 kB / 1.455 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/1.06, allocations: 1.037 MB / 1.456 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.008068/1.068, allocations: 2.98 MB / 1.459 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004174/1.072, allocations: 1.685 MB / 1.461 GB, free: 9.574 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004687/1.077, allocations: 3.445 MB / 1.464 GB, free: 6.117 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/1.079, allocations: 1.283 MB / 1.465 GB, free: 4.797 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006055/1.085, allocations: 2.526 MB / 1.468 GB, free: 2.273 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/1.087, allocations: 1.088 MB / 1.469 GB, free: 1.191 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/1.087, allocations: 116 kB / 1.469 GB, free: 1.078 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/1.093, allocations: 3.094 MB / 1.472 GB, free: 13.98 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004961/1.093, allocations: 474.5 kB / 1.472 GB, free: 13.51 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000972/1.094, allocations: 0.8085 MB / 1.473 GB, free: 12.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004712/1.099, allocations: 2.968 MB / 1.476 GB, free: 9.723 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.099, allocations: 4 kB / 1.476 GB, free: 9.719 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/1.099, allocations: 0 / 1.476 GB, free: 9.719 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.529e-05/1.099, allocations: 4 kB / 1.476 GB, free: 9.715 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003269/1.102, allocations: 1.999 MB / 1.478 GB, free: 7.664 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/1.102, allocations: 15.97 kB / 1.478 GB, free: 7.648 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/1.105, allocations: 0.4897 MB / 1.479 GB, free: 7.156 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/1.107, allocations: 1.168 MB / 1.48 GB, free: 5.93 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/1.107, allocations: 85.94 kB / 1.48 GB, free: 5.848 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.107, allocations: 104 kB / 1.48 GB, free: 5.746 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/1.11, allocations: 1.342 MB / 1.481 GB, free: 4.281 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.11, allocations: 3.938 kB / 1.481 GB, free: 4.277 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.11, allocations: 44 kB / 1.481 GB, free: 4.234 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/1.11, allocations: 49.98 kB / 1.481 GB, free: 4.188 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/1.112, allocations: 1.046 MB / 1.482 GB, free: 3.141 MB / 1.201 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.01025/1.122, allocations: 7.389 MB / 1.49 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/1.124, allocations: 0.5386 MB / 1.49 GB, free: 10.73 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006418/1.125, allocations: 257.2 kB / 1.49 GB, free: 10.47 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/1.125, allocations: 291.5 kB / 1.491 GB, free: 10.13 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/1.125, allocations: 34.84 kB / 1.491 GB, free: 10.09 MB / 1.217 GB Notification: Performance of pre-optimization done (n=33): time 1.077e-05/1.125, allocations: 0 / 1.491 GB, free: 10.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=33): time 0.002616/1.128, allocations: 0.8377 MB / 1.491 GB, free: 9.246 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/1.128, allocations: 59.39 kB / 1.492 GB, free: 9.176 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/1.13, allocations: 1.391 MB / 1.493 GB, free: 7.773 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/1.13, allocations: 37.69 kB / 1.493 GB, free: 7.73 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/1.13, allocations: 0.7064 MB / 1.494 GB, free: 7.02 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/1.131, allocations: 114.4 kB / 1.494 GB, free: 6.906 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/1.131, allocations: 170.3 kB / 1.494 GB, free: 6.734 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.131, allocations: 334 kB / 1.494 GB, free: 6.402 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008045/1.132, allocations: 312.6 kB / 1.495 GB, free: 6.094 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.133, allocations: 0.6891 MB / 1.495 GB, free: 5.227 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/1.135, allocations: 0.9298 MB / 1.496 GB, free: 4.137 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.135, allocations: 4 kB / 1.496 GB, free: 4.133 MB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002332/1.137, allocations: 1.047 MB / 1.497 GB, free: 3.078 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1.137, allocations: 8.156 kB / 1.497 GB, free: 3.07 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.137, allocations: 16 kB / 1.497 GB, free: 3.055 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/1.137, allocations: 16 kB / 1.497 GB, free: 3.039 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/1.138, allocations: 207.6 kB / 1.497 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/1.138, allocations: 23.94 kB / 1.497 GB, free: 2.812 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.139, allocations: 182.6 kB / 1.498 GB, free: 2.633 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/1.139, allocations: 47.98 kB / 1.498 GB, free: 2.586 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/1.14, allocations: 0.5643 MB / 1.498 GB, free: 2.02 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/1.142, allocations: 0.6891 MB / 1.499 GB, free: 1.156 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001638/1.143, allocations: 0.9215 MB / 1.5 GB, free: 76 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/1.143, allocations: 4 kB / 1.5 GB, free: 72 kB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002265/1.145, allocations: 1.054 MB / 1.501 GB, free: 15 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.145, allocations: 11.94 kB / 1.501 GB, free: 14.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.145, allocations: 12 kB / 1.501 GB, free: 14.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.146, allocations: 16 kB / 1.501 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/1.146, allocations: 208 kB / 1.501 GB, free: 14.76 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/1.146, allocations: 23.92 kB / 1.501 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.148, allocations: 123.5 kB / 1.501 GB, free: 14.62 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/1.148, allocations: 47.98 kB / 1.501 GB, free: 14.57 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002387/1.148, allocations: 236 kB / 1.501 GB, free: 14.33 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/1.148, allocations: 146.2 kB / 1.502 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/1.15, allocations: 0.637 MB / 1.502 GB, free: 13.53 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.15, allocations: 4 kB / 1.502 GB, free: 13.53 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/1.15, allocations: 0 / 1.502 GB, free: 13.53 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.15, allocations: 4.031 kB / 1.502 GB, free: 13.53 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/1.153, allocations: 1.9 MB / 1.504 GB, free: 11.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.153, allocations: 4 kB / 1.504 GB, free: 11.52 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/1.154, allocations: 96.02 kB / 1.504 GB, free: 11.42 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/1.154, allocations: 4 kB / 1.504 GB, free: 11.42 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/1.154, allocations: 12 kB / 1.504 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/1.154, allocations: 11.94 kB / 1.504 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.154, allocations: 4 kB / 1.504 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/1.155, allocations: 0.8032 MB / 1.505 GB, free: 10.52 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004689/1.156, allocations: 303.1 kB / 1.505 GB, free: 10.2 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/1.156, allocations: 8 kB / 1.505 GB, free: 10.2 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.157, allocations: 67.92 kB / 1.505 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.787e-05/1.157, allocations: 35.84 kB / 1.505 GB, free: 10.09 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.121e-05/1.157, allocations: 31.97 kB / 1.505 GB, free: 10.06 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001491/1.159, allocations: 1.001 MB / 1.506 GB, free: 9.066 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.1e-07/1.159, allocations: 7.828 kB / 1.506 GB, free: 9.062 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001844/1.161, allocations: 0.5735 MB / 1.507 GB, free: 8.488 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006051/1.161, allocations: 264.3 kB / 1.507 GB, free: 8.227 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002893/1.164, allocations: 1.125 MB / 1.508 GB, free: 7.105 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.164, allocations: 0 / 1.508 GB, free: 7.105 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/1.165, allocations: 256.8 kB / 1.509 GB, free: 6.855 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/1.169, allocations: 0.7384 MB / 1.509 GB, free: 6.121 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/1.174, allocations: 2.237 MB / 1.511 GB, free: 3.805 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/1.175, allocations: 1.186 MB / 1.513 GB, free: 2.586 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001442/1.177, allocations: 379.8 kB / 1.513 GB, free: 2.211 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/1.177, allocations: 99.41 kB / 1.513 GB, free: 2.117 MB / 1.232 GB Notification: Performance of SimCode: time 7.31e-07/1.177, allocations: 0 / 1.513 GB, free: 2.117 MB / 1.232 GB Notification: Performance of Templates: time 0.04059/1.218, allocations: 25.19 MB / 1.538 GB, free: 9.266 MB / 1.264 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches