Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 115 kB / 16.37 MB, free: 6.016 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.001671/0.001671, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 58.31 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2923, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.0327/0.3251, allocations: 30.07 MB / 1.056 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01677/0.3419, allocations: 11.71 MB / 1.068 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3438, allocations: 47.75 kB / 1.068 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007371/0.3513, allocations: 3.92 MB / 1.071 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004792/0.3561, allocations: 1.52 MB / 1.073 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.3597, allocations: 1.417 MB / 1.074 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.6119/0.9715, allocations: 6.604 MB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002852/0.9744, allocations: 1.375 MB / 1.082 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004854/0.9793, allocations: 1.461 MB / 1.083 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.9824, allocations: 1.087 MB / 1.085 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000536/0.9829, allocations: 121.8 kB / 1.085 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004347/0.9873, allocations: 1.299 MB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.9883, allocations: 0.5212 MB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.9905, allocations: 0.9689 MB / 1.087 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007464/0.9979, allocations: 2.997 MB / 1.09 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.998, allocations: 0.875 kB / 1.09 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.545e-06/0.998, allocations: 1.312 kB / 1.09 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.731e-05/0.9981, allocations: 0 / 1.09 GB, free: 14.63 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006281/1.004, allocations: 2.35 MB / 1.093 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.004, allocations: 8.969 kB / 1.093 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/1.007, allocations: 380.4 kB / 1.093 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/1.012, allocations: 2.355 MB / 1.095 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/1.012, allocations: 63.56 kB / 1.095 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/1.012, allocations: 89.2 kB / 1.095 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/1.014, allocations: 1.006 MB / 1.096 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/1.015, allocations: 5.375 kB / 1.096 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/1.015, allocations: 34.12 kB / 1.096 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.015, allocations: 19.25 kB / 1.096 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/1.016, allocations: 0.7568 MB / 1.097 GB, free: 12.52 MB / 0.8419 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.008178/1.025, allocations: 5.239 MB / 1.102 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/1.026, allocations: 0.5589 MB / 1.103 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/1.027, allocations: 326 kB / 1.103 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002888/1.03, allocations: 1.645 MB / 1.105 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007571/1.03, allocations: 321.4 kB / 1.105 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000636/1.031, allocations: 61.88 kB / 1.105 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 2.946e-06/1.031, allocations: 0 / 1.105 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.00353/1.035, allocations: 1.235 MB / 1.106 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.035, allocations: 61.11 kB / 1.106 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/1.038, allocations: 1.849 MB / 1.108 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/1.038, allocations: 39.19 kB / 1.108 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006658/1.039, allocations: 0.7907 MB / 1.109 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/1.039, allocations: 152.7 kB / 1.109 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/1.039, allocations: 266.8 kB / 1.109 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.039, allocations: 350.5 kB / 1.11 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/1.04, allocations: 469.5 kB / 1.11 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/1.041, allocations: 0.8331 MB / 1.111 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001778/1.043, allocations: 1.162 MB / 1.112 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.043, allocations: 2.594 kB / 1.112 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003522/1.047, allocations: 1.6 MB / 1.114 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/1.047, allocations: 36.67 kB / 1.114 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/1.047, allocations: 7.594 kB / 1.114 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007028/1.048, allocations: 196.7 kB / 1.114 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/1.048, allocations: 196 kB / 1.114 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006582/1.049, allocations: 0.7662 MB / 1.115 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.051, allocations: 66.61 kB / 1.115 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.051, allocations: 47.81 kB / 1.115 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00172/1.052, allocations: 0.8649 MB / 1.116 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009812/1.053, allocations: 0.8142 MB / 1.117 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001522/1.055, allocations: 1.124 MB / 1.118 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.264e-06/1.055, allocations: 2.969 kB / 1.118 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003148/1.058, allocations: 1.583 MB / 1.119 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/1.058, allocations: 37.38 kB / 1.119 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.058, allocations: 12.73 kB / 1.119 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/1.059, allocations: 115 kB / 1.119 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/1.059, allocations: 188.7 kB / 1.12 GB, free: 1.027 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/1.062, allocations: 2.352 MB / 1.122 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.063, allocations: 73.7 kB / 1.122 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/1.063, allocations: 48.72 kB / 1.122 GB, free: 15.1 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004466/1.064, allocations: 244.5 kB / 1.122 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/1.064, allocations: 164.5 kB / 1.122 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/1.067, allocations: 0.907 MB / 1.123 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/1.067, allocations: 5.734 kB / 1.123 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/1.067, allocations: 0 / 1.123 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001594/1.068, allocations: 0.8897 MB / 1.124 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/1.073, allocations: 1.999 MB / 1.126 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/1.073, allocations: 0 / 1.126 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/1.074, allocations: 84.2 kB / 1.126 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/1.074, allocations: 131.5 kB / 1.126 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/1.074, allocations: 12.94 kB / 1.126 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007299/1.075, allocations: 0.7534 MB / 1.127 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.075, allocations: 1.312 kB / 1.127 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/1.078, allocations: 1.233 MB / 1.128 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.079, allocations: 321.2 kB / 1.129 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/1.08, allocations: 14.12 kB / 1.129 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/1.08, allocations: 37.83 kB / 1.129 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.08, allocations: 36.22 kB / 1.129 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/1.08, allocations: 22.25 kB / 1.129 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002834/1.083, allocations: 1.255 MB / 1.13 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/1.083, allocations: 4 kB / 1.13 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003809/1.087, allocations: 0.8156 MB / 1.131 GB, free: 10.91 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * 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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/1.089, allocations: 0.4963 MB / 1.131 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003987/1.093, allocations: 1.872 MB / 1.133 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.093, allocations: 0 / 1.133 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008343/1.094, allocations: 348.6 kB / 1.133 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003953/1.098, allocations: 0.7932 MB / 1.134 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/1.105, allocations: 3 MB / 1.137 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.106, allocations: 1.44 MB / 1.138 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001893/1.108, allocations: 443.2 kB / 1.139 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/1.108, allocations: 128.7 kB / 1.139 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of SimCode: time 9.32e-07/1.108, allocations: 2.719 kB / 1.139 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of Templates: time 0.05726/1.165, allocations: 33.34 MB / 1.172 GB, free: 14.11 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches