Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001437/0.001437, allocations: 105 kB / 15.98 MB, free: 6.348 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.001314/0.001314, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.2 MB / 0.665 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 65.97 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3021, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07624/0.3784, allocations: 71.71 MB / 1.02 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02506/0.4035, allocations: 16.9 MB / 1.036 GB, free: 376 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003566/0.4071, allocations: 83.5 kB / 1.036 GB, free: 292 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003418/0.4105, allocations: 0.8864 MB / 1.037 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007194/0.4178, allocations: 2.189 MB / 1.039 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005821/0.4236, allocations: 1.897 MB / 1.041 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.4341, allocations: 8.083 MB / 1.049 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008729/0.4429, allocations: 6.132 MB / 1.055 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007605/0.4505, allocations: 3.357 MB / 1.058 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.4555, allocations: 2.575 MB / 1.061 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.4567, allocations: 256 kB / 1.061 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004421/0.4612, allocations: 1.377 MB / 1.062 GB, free: 5.426 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.4628, allocations: 0.7783 MB / 1.063 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003672/0.4665, allocations: 1.776 MB / 1.065 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005222/0.4718, allocations: 3.621 MB / 1.069 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4718, allocations: 0 / 1.069 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4718, allocations: 0 / 1.069 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001417/0.472, allocations: 0 / 1.069 GB, free: 15.23 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.008719/0.4807, allocations: 3.948 MB / 1.072 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.4807, allocations: 8.031 kB / 1.072 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/0.484, allocations: 0.6359 MB / 1.073 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006963/0.491, allocations: 2.686 MB / 1.076 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.4912, allocations: 143.8 kB / 1.076 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006041/0.4918, allocations: 187.9 kB / 1.076 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005084/0.4969, allocations: 2.342 MB / 1.078 GB, free: 5 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.497, allocations: 3.938 kB / 1.078 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.4972, allocations: 68 kB / 1.078 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.4972, allocations: 43.94 kB / 1.078 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.5012, allocations: 1.919 MB / 1.08 GB, free: 2.961 MB / 0.8575 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.5844/1.086, allocations: 11.25 MB / 1.091 GB, free: 124.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/1.089, allocations: 1.391 MB / 1.093 GB, free: 124.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/1.091, allocations: 1.03 MB / 1.094 GB, free: 123.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007437/1.098, allocations: 3.664 MB / 1.097 GB, free: 121.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/1.1, allocations: 0.8017 MB / 1.098 GB, free: 121 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001795/1.102, allocations: 270.7 kB / 1.098 GB, free: 121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=96): time 6.583e-06/1.102, allocations: 0 / 1.098 GB, free: 121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=96): time 0.01426/1.116, allocations: 4.237 MB / 1.102 GB, free: 120 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/1.117, allocations: 62.69 kB / 1.102 GB, free: 120 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006436/1.123, allocations: 2.867 MB / 1.105 GB, free: 119 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/1.123, allocations: 58 kB / 1.105 GB, free: 119 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/1.125, allocations: 1.428 MB / 1.107 GB, free: 118 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/1.126, allocations: 344.3 kB / 1.107 GB, free: 117.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009407/1.127, allocations: 343.9 kB / 1.107 GB, free: 117.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.155e-05/1.127, allocations: 303.1 kB / 1.108 GB, free: 117.3 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/1.128, allocations: 0.702 MB / 1.108 GB, free: 117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/1.131, allocations: 1.435 MB / 1.11 GB, free: 115.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/1.135, allocations: 1.93 MB / 1.112 GB, free: 114.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-05/1.135, allocations: 4.5 kB / 1.112 GB, free: 114.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007638/1.142, allocations: 2.883 MB / 1.114 GB, free: 113.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.399e-05/1.142, allocations: 38.17 kB / 1.114 GB, free: 113.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.842e-05/1.142, allocations: 13.44 kB / 1.114 GB, free: 113.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/1.145, allocations: 0.6991 MB / 1.115 GB, free: 113.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.147, allocations: 296 kB / 1.115 GB, free: 113.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/1.149, allocations: 1.898 MB / 1.117 GB, free: 112 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/1.151, allocations: 176 kB / 1.117 GB, free: 112 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/1.151, allocations: 85.64 kB / 1.117 GB, free: 112 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002955/1.154, allocations: 1.295 MB / 1.119 GB, free: 111.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001941/1.156, allocations: 1.386 MB / 1.12 GB, free: 110.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003112/1.16, allocations: 1.835 MB / 1.122 GB, free: 109.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.671e-05/1.16, allocations: 8.641 kB / 1.122 GB, free: 109.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.005823/1.165, allocations: 2.721 MB / 1.125 GB, free: 108 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/1.165, allocations: 39.81 kB / 1.125 GB, free: 107.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/1.166, allocations: 14.44 kB / 1.125 GB, free: 107.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.167, allocations: 475.2 kB / 1.125 GB, free: 107.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/1.168, allocations: 295.2 kB / 1.125 GB, free: 107.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006783/1.175, allocations: 6.321 MB / 1.132 GB, free: 102.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/1.177, allocations: 179.9 kB / 1.132 GB, free: 102.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/1.178, allocations: 81.19 kB / 1.132 GB, free: 102.7 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0006984/1.178, allocations: 284.9 kB / 1.132 GB, free: 102.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00088/1.179, allocations: 300.8 kB / 1.132 GB, free: 102.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005637/1.185, allocations: 2.503 MB / 1.135 GB, free: 100.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/1.185, allocations: 12.38 kB / 1.135 GB, free: 100.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.185, allocations: 1.375 kB / 1.135 GB, free: 100.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003512/1.189, allocations: 2.128 MB / 1.137 GB, free: 99.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009167/1.198, allocations: 4.465 MB / 1.141 GB, free: 96.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.198, allocations: 0 / 1.141 GB, free: 96.8 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/1.199, allocations: 186.2 kB / 1.141 GB, free: 96.74 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009447/1.2, allocations: 469.8 kB / 1.142 GB, free: 96.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.254e-05/1.2, allocations: 39.81 kB / 1.142 GB, free: 96.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/1.201, allocations: 1.858 MB / 1.144 GB, free: 95.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.201, allocations: 7.875 kB / 1.144 GB, free: 95.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/1.206, allocations: 3.211 MB / 1.147 GB, free: 93.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/1.208, allocations: 494.5 kB / 1.147 GB, free: 92.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006471/1.208, allocations: 22.38 kB / 1.147 GB, free: 92.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/1.21, allocations: 141 kB / 1.147 GB, free: 92.78 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.21, allocations: 81.11 kB / 1.148 GB, free: 92.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/1.21, allocations: 42.84 kB / 1.148 GB, free: 92.72 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00315/1.214, allocations: 1.958 MB / 1.15 GB, free: 91.71 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.91e-07/1.214, allocations: 0 / 1.15 GB, free: 91.71 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004627/1.218, allocations: 1.365 MB / 1.151 GB, free: 91.32 MB / 0.8575 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 (82): * Single equations (assignments): 74 * 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.001208/1.219, allocations: 462.2 kB / 1.151 GB, free: 90.93 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006426/1.226, allocations: 3.5 MB / 1.155 GB, free: 87.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.226, allocations: 448 / 1.155 GB, free: 87.4 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/1.227, allocations: 0.8152 MB / 1.156 GB, free: 86.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005383/1.233, allocations: 1.267 MB / 1.157 GB, free: 85.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009095/1.242, allocations: 6.269 MB / 1.163 GB, free: 79.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/1.244, allocations: 2.057 MB / 1.165 GB, free: 76.98 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007157/1.244, allocations: 227.3 kB / 1.165 GB, free: 76.76 MB / 0.8575 GB Notification: Performance of SimCode: time 5.81e-07/1.244, allocations: 0 / 1.165 GB, free: 76.76 MB / 0.8575 GB Notification: Performance of Templates: time 0.07709/1.321, allocations: 75.04 MB / 1.238 GB, free: 2.035 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches