Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 109.6 kB / 16.37 MB, free: 6.477 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.001523/0.001523, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.473/2.473, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 68.05 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3069, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03442/0.3414, allocations: 33.21 MB / 1.059 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.3611, allocations: 12.29 MB / 1.071 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.3634, allocations: 47.75 kB / 1.071 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007996/0.3714, allocations: 3.967 MB / 1.075 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.6015/0.973, allocations: 1.631 MB / 1.077 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.977, allocations: 1.454 MB / 1.078 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01302/0.99, allocations: 7.684 MB / 1.086 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004026/0.994, allocations: 2.086 MB / 1.088 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00586/0.9999, allocations: 1.879 MB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004125/1.004, allocations: 1.413 MB / 1.091 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007311/1.005, allocations: 146.9 kB / 1.091 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004784/1.01, allocations: 1.343 MB / 1.092 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/1.011, allocations: 0.5908 MB / 1.093 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003192/1.014, allocations: 1.196 MB / 1.094 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.009996/1.024, allocations: 3.492 MB / 1.097 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/1.024, allocations: 0 / 1.097 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.867e-06/1.024, allocations: 0 / 1.097 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001759/1.024, allocations: 0 / 1.097 GB, free: 12.56 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.00853/1.033, allocations: 2.789 MB / 1.1 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.033, allocations: 9.469 kB / 1.1 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/1.035, allocations: 436.9 kB / 1.101 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006669/1.042, allocations: 2.709 MB / 1.103 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/1.042, allocations: 80.95 kB / 1.103 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/1.043, allocations: 109.5 kB / 1.103 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/1.045, allocations: 1.315 MB / 1.105 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/1.045, allocations: 5.656 kB / 1.105 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/1.045, allocations: 42.12 kB / 1.105 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/1.046, allocations: 28.28 kB / 1.105 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/1.048, allocations: 1.028 MB / 1.106 GB, free: 9.844 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.009642/1.058, allocations: 6.886 MB / 1.113 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/1.059, allocations: 0.6004 MB / 1.113 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/1.06, allocations: 394.8 kB / 1.113 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00368/1.063, allocations: 1.763 MB / 1.115 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000796/1.064, allocations: 360.3 kB / 1.116 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008163/1.065, allocations: 95.5 kB / 1.116 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/1.065, allocations: 1.5 kB / 1.116 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44): time 0.00372/1.069, allocations: 1.372 MB / 1.117 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/1.069, allocations: 56.8 kB / 1.117 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/1.072, allocations: 2.374 MB / 1.119 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/1.073, allocations: 39.92 kB / 1.119 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/1.073, allocations: 0.9958 MB / 1.12 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.074, allocations: 162.9 kB / 1.121 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004152/1.074, allocations: 295.2 kB / 1.121 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/1.074, allocations: 357.9 kB / 1.121 GB, free: 236 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009031/1.075, allocations: 0.4926 MB / 1.122 GB, free: 60 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/1.076, allocations: 0.9986 MB / 1.123 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/1.078, allocations: 1.342 MB / 1.124 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.078, allocations: 7.531 kB / 1.124 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003957/1.082, allocations: 1.792 MB / 1.126 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/1.082, allocations: 40.62 kB / 1.126 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/1.082, allocations: 11.94 kB / 1.126 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/1.083, allocations: 191.8 kB / 1.126 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/1.084, allocations: 228 kB / 1.126 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006925/1.085, allocations: 0.7643 MB / 1.127 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/1.087, allocations: 67.61 kB / 1.127 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.087, allocations: 57.11 kB / 1.127 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001954/1.089, allocations: 1.022 MB / 1.128 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001283/1.09, allocations: 0.9716 MB / 1.129 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001821/1.092, allocations: 1.302 MB / 1.13 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.276e-06/1.092, allocations: 3.656 kB / 1.13 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.003553/1.095, allocations: 1.792 MB / 1.132 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/1.095, allocations: 40.58 kB / 1.132 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.095, allocations: 11.72 kB / 1.132 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002498/1.096, allocations: 128.7 kB / 1.132 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/1.096, allocations: 220.2 kB / 1.132 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/1.099, allocations: 2.327 MB / 1.135 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.101, allocations: 77.12 kB / 1.135 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.101, allocations: 61.17 kB / 1.135 GB, free: 8.449 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004099/1.101, allocations: 253.4 kB / 1.135 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/1.102, allocations: 212.3 kB / 1.135 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/1.104, allocations: 1.035 MB / 1.136 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/1.104, allocations: 6.078 kB / 1.136 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/1.104, allocations: 1.344 kB / 1.136 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/1.106, allocations: 0.9617 MB / 1.137 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/1.111, allocations: 2.314 MB / 1.139 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.111, allocations: 1.094 kB / 1.139 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/1.111, allocations: 88.73 kB / 1.139 GB, free: 6.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/1.111, allocations: 131.2 kB / 1.14 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/1.111, allocations: 22.23 kB / 1.14 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005505/1.112, allocations: 0.7348 MB / 1.14 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.112, allocations: 1.75 kB / 1.14 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/1.115, allocations: 1.403 MB / 1.142 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/1.116, allocations: 357.2 kB / 1.142 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/1.116, allocations: 10.59 kB / 1.142 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007956/1.117, allocations: 46.7 kB / 1.142 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.117, allocations: 42.69 kB / 1.142 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/1.117, allocations: 22.36 kB / 1.142 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002504/1.12, allocations: 1.613 MB / 1.144 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.3e-07/1.12, allocations: 0 / 1.144 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002961/1.123, allocations: 0.9494 MB / 1.145 GB, free: 3.277 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (38): * Single equations (assignments): 32 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/1.124, allocations: 0.5232 MB / 1.145 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003489/1.127, allocations: 2.006 MB / 1.147 GB, free: 2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.127, allocations: 4.062 kB / 1.147 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007265/1.128, allocations: 339.9 kB / 1.147 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004127/1.132, allocations: 0.9892 MB / 1.148 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/1.139, allocations: 3.646 MB / 1.152 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/1.141, allocations: 1.677 MB / 1.154 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002047/1.143, allocations: 0.537 MB / 1.154 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/1.143, allocations: 162.2 kB / 1.154 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of SimCode: time 1.243e-06/1.143, allocations: 0 / 1.154 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.0678/1.211, allocations: 39.4 MB / 1.193 GB, free: 7.508 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches