Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 111 kB / 16.42 MB, free: 6.508 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.001153/0.001153, allocations: 190.5 kB / 17.35 MB, free: 5.758 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.585/2.585, allocations: 461.7 MB / 0.7352 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 71.83 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7892/0.7906, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.08039/0.871, allocations: 81.09 MB / 1.287 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03446/0.9055, allocations: 21.08 MB / 1.308 GB, free: 7.172 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.9097, allocations: 111.4 kB / 1.308 GB, free: 7.062 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006045/0.9157, allocations: 1.944 MB / 1.31 GB, free: 5.113 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008603/0.9243, allocations: 2.937 MB / 1.313 GB, free: 2.164 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006773/0.9311, allocations: 2.487 MB / 1.315 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03935/0.9705, allocations: 29.78 MB / 1.344 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02603/0.9966, allocations: 17.04 MB / 1.361 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0228/1.019, allocations: 11.27 MB / 1.372 GB, free: 5.441 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02226/1.042, allocations: 11.74 MB / 1.383 GB, free: 9.668 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.005582/1.047, allocations: 1.289 MB / 1.385 GB, free: 8.379 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/1.058, allocations: 2.755 MB / 1.387 GB, free: 5.621 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.007513/1.066, allocations: 3.779 MB / 1.391 GB, free: 1.832 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01451/1.081, allocations: 6.676 MB / 1.398 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.02554/1.106, allocations: 19.07 MB / 1.416 GB, free: 8.012 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.106, allocations: 3.938 kB / 1.416 GB, free: 8.008 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.442e-06/1.106, allocations: 4 kB / 1.416 GB, free: 8.004 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0004952/1.107, allocations: 0 / 1.416 GB, free: 8.004 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.03641/1.143, allocations: 12.63 MB / 1.429 GB, free: 11.26 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.143, allocations: 16.03 kB / 1.429 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008919/1.152, allocations: 1.389 MB / 1.43 GB, free: 9.844 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02476/1.177, allocations: 11.21 MB / 1.441 GB, free: 14.55 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004625/1.177, allocations: 439.1 kB / 1.441 GB, free: 14.12 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003078/1.181, allocations: 0.5896 MB / 1.442 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03097/1.212, allocations: 14.65 MB / 1.456 GB, free: 14.61 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002455/1.212, allocations: 23.78 kB / 1.456 GB, free: 14.59 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002649/1.214, allocations: 240 kB / 1.456 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/1.215, allocations: 136 kB / 1.457 GB, free: 14.22 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03408/1.249, allocations: 19.81 MB / 1.476 GB, free: 10.39 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.1075/1.356, allocations: 60.46 MB / 1.535 GB, free: 12.41 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/1.371, allocations: 9.193 MB / 1.544 GB, free: 3.203 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01298/1.384, allocations: 8.601 MB / 1.552 GB, free: 10.59 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052/2.436, allocations: 27.51 MB / 1.579 GB, free: 321.3 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01247/2.449, allocations: 7.641 MB / 1.587 GB, free: 318.9 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01513/2.464, allocations: 4.503 MB / 1.591 GB, free: 318.2 MB / 1.279 GB Notification: Performance of pre-optimization done (n=298): time 2.062e-05/2.464, allocations: 0 / 1.591 GB, free: 318.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=298): time 0.04546/2.51, allocations: 23.81 MB / 1.614 GB, free: 299.9 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/2.51, allocations: 85.75 kB / 1.614 GB, free: 299.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/2.522, allocations: 8.835 MB / 1.623 GB, free: 291.1 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001865/2.524, allocations: 101.7 kB / 1.623 GB, free: 291 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.003973/2.528, allocations: 4.208 MB / 1.627 GB, free: 287.3 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00261/2.531, allocations: 1.074 MB / 1.628 GB, free: 286.2 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006002/2.537, allocations: 1.776 MB / 1.63 GB, free: 284.5 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.243e-05/2.537, allocations: 305.1 kB / 1.63 GB, free: 284.2 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008188/2.545, allocations: 6.734 MB / 1.637 GB, free: 277.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009081/2.554, allocations: 8.567 MB / 1.645 GB, free: 268 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0184/2.572, allocations: 15.6 MB / 1.66 GB, free: 251.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.085e-05/2.572, allocations: 16 kB / 1.661 GB, free: 251.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03209/2.604, allocations: 18.07 MB / 1.678 GB, free: 233.5 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/2.605, allocations: 62.88 kB / 1.678 GB, free: 233.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-05/2.605, allocations: 48 kB / 1.678 GB, free: 233.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06399/2.669, allocations: 11.59 MB / 1.69 GB, free: 221.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007914/2.677, allocations: 1.602 MB / 1.691 GB, free: 220.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004728/2.681, allocations: 3.786 MB / 1.695 GB, free: 216.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009131/2.691, allocations: 363.7 kB / 1.695 GB, free: 216.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/2.693, allocations: 0.5499 MB / 1.696 GB, free: 215.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01205/2.705, allocations: 9.127 MB / 1.705 GB, free: 206.4 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008733/2.713, allocations: 8.541 MB / 1.713 GB, free: 197 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01783/2.731, allocations: 15.53 MB / 1.728 GB, free: 180.7 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.622e-05/2.731, allocations: 16 kB / 1.728 GB, free: 180.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.02898/2.76, allocations: 17.94 MB / 1.746 GB, free: 162.7 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/2.76, allocations: 53.7 kB / 1.746 GB, free: 162.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.374e-05/2.76, allocations: 50.75 kB / 1.746 GB, free: 162.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06314/2.824, allocations: 11.13 MB / 1.757 GB, free: 151.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007951/2.832, allocations: 1.608 MB / 1.758 GB, free: 149.8 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008346/2.84, allocations: 8.171 MB / 1.766 GB, free: 141.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009557/2.849, allocations: 380.2 kB / 1.767 GB, free: 141 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/2.852, allocations: 0.541 MB / 1.767 GB, free: 140.5 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * 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 (558): * Single equations (assignments): 552 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003564/2.856, allocations: 0.499 MB / 1.768 GB, free: 140 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003892/2.859, allocations: 0.7948 MB / 1.768 GB, free: 139.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02598/2.885, allocations: 14.09 MB / 1.782 GB, free: 125 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01414/2.9, allocations: 10.68 MB / 1.793 GB, free: 114.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/2.9, allocations: 4 kB / 1.793 GB, free: 114.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004611/2.904, allocations: 1.869 MB / 1.794 GB, free: 112.3 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002394/2.907, allocations: 71.98 kB / 1.794 GB, free: 112.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006138/2.913, allocations: 215.5 kB / 1.795 GB, free: 112.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009824/2.914, allocations: 250.4 kB / 1.795 GB, free: 111.8 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01842/2.932, allocations: 11.61 MB / 1.806 GB, free: 100.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02248/2.955, allocations: 19.16 MB / 1.825 GB, free: 80.92 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005641/2.96, allocations: 5.964 MB / 1.831 GB, free: 74.94 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008575/2.969, allocations: 6.079 MB / 1.837 GB, free: 68.9 MB / 1.279 GB Notification: Performance of Backend: time 6.31e-07/2.969, allocations: 0 / 1.837 GB, free: 68.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.03231/3.001, allocations: 19.82 MB / 1.856 GB, free: 49.12 MB / 1.279 GB Notification: Performance of SimCode: time 0.04207/3.044, allocations: 21.71 MB / 1.877 GB, free: 27.53 MB / 1.279 GB Notification: Performance of Templates: time 0.9367/3.98, allocations: 278.1 MB / 2.149 GB, free: 0.5037 GB / 1.498 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example1v2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches