Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 387.1 MB / 399.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 183.9 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.3 MB / 0.7871 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009981, allocations: 102 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.475e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.356, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.48/1.836, allocations: 448.7 MB / 1.651 GB, free: 14.08 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/1.837, allocations: 92.92 kB / 1.651 GB, free: 14.03 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.82/6.657, allocations: 1 GB / 2.651 GB, free: 201.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.294e-06/6.657, allocations: 2.031 kB / 2.651 GB, free: 201.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003059/6.657, allocations: 57.12 kB / 2.651 GB, free: 201.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.007392/6.665, allocations: 2.098 MB / 2.653 GB, free: 200.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/6.665, allocations: 11.09 kB / 2.653 GB, free: 200.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/6.67, allocations: 0.8164 MB / 2.654 GB, free: 200.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02817/6.699, allocations: 9.09 MB / 2.663 GB, free: 200.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/6.699, allocations: 93.16 kB / 2.663 GB, free: 200.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/6.699, allocations: 129.2 kB / 2.663 GB, free: 200.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003373/6.703, allocations: 1.417 MB / 2.664 GB, free: 199.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/6.703, allocations: 6.375 kB / 2.664 GB, free: 199.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/6.703, allocations: 52.56 kB / 2.664 GB, free: 199.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.984e-05/6.703, allocations: 51.53 kB / 2.664 GB, free: 199.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/6.705, allocations: 1.016 MB / 2.665 GB, free: 199.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01314/6.718, allocations: 8.409 MB / 2.673 GB, free: 194.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/6.721, allocations: 0.9456 MB / 2.674 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/6.722, allocations: 399.5 kB / 2.675 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00571/6.728, allocations: 2.989 MB / 2.678 GB, free: 193.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000765/6.728, allocations: 447.4 kB / 2.678 GB, free: 193.2 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001228/6.73, allocations: 191.1 kB / 2.678 GB, free: 193.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 3.196e-06/6.73, allocations: 3.156 kB / 2.678 GB, free: 193.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.001416/6.731, allocations: 0.7686 MB / 2.679 GB, free: 193.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/6.731, allocations: 62.39 kB / 2.679 GB, free: 193 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/6.733, allocations: 1.309 MB / 2.68 GB, free: 192.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.864e-05/6.733, allocations: 47.52 kB / 2.68 GB, free: 192.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008481/6.734, allocations: 0.8862 MB / 2.681 GB, free: 192.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/6.734, allocations: 244.4 kB / 2.681 GB, free: 192.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/6.734, allocations: 23.84 kB / 2.682 GB, free: 192.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/6.734, allocations: 343.2 kB / 2.682 GB, free: 192.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/6.735, allocations: 323.4 kB / 2.682 GB, free: 192.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/6.736, allocations: 0.7609 MB / 2.683 GB, free: 191.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/6.736, allocations: 439.3 kB / 2.683 GB, free: 191.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/6.736, allocations: 4.062 kB / 2.683 GB, free: 191.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002372/6.739, allocations: 1.219 MB / 2.685 GB, free: 191.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001146/6.74, allocations: 5.108 MB / 2.69 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/6.74, allocations: 14.84 kB / 2.69 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.162e-05/6.74, allocations: 20.84 kB / 2.69 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/6.741, allocations: 308.3 kB / 2.69 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.461e-05/6.741, allocations: 39.64 kB / 2.69 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/6.743, allocations: 154.1 kB / 2.69 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/6.743, allocations: 60.91 kB / 2.69 GB, free: 186 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/6.743, allocations: 7.156 kB / 2.69 GB, free: 186 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001747/6.745, allocations: 1.048 MB / 2.691 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/6.745, allocations: 12.41 kB / 2.691 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/6.745, allocations: 23.97 kB / 2.691 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/6.746, allocations: 299.1 kB / 2.691 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.721e-05/6.746, allocations: 26.31 kB / 2.691 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/6.748, allocations: 151.2 kB / 2.692 GB, free: 185.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/6.749, allocations: 70.7 kB / 2.692 GB, free: 185.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003281/6.749, allocations: 173.6 kB / 2.692 GB, free: 185.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/6.749, allocations: 180.3 kB / 2.692 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/6.752, allocations: 1.072 MB / 2.693 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/6.752, allocations: 11.97 kB / 2.693 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/6.752, allocations: 0 / 2.693 GB, free: 185.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/6.753, allocations: 0.958 MB / 2.694 GB, free: 185.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.005681/6.759, allocations: 2.514 MB / 2.696 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/6.759, allocations: 3.062 kB / 2.696 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/6.76, allocations: 184.7 kB / 2.697 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/6.76, allocations: 7.953 kB / 2.697 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/6.76, allocations: 26.31 kB / 2.697 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/6.76, allocations: 9.766 kB / 2.697 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/6.76, allocations: 4.938 kB / 2.697 GB, free: 184.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/6.763, allocations: 1.523 MB / 2.698 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/6.764, allocations: 351.8 kB / 2.698 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/6.764, allocations: 19.73 kB / 2.699 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/6.765, allocations: 137 kB / 2.699 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/6.765, allocations: 53.25 kB / 2.699 GB, free: 184.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.591e-05/6.766, allocations: 39.66 kB / 2.699 GB, free: 184.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001874/6.767, allocations: 1.003 MB / 2.7 GB, free: 184.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.767, allocations: 1.594 kB / 2.7 GB, free: 184.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005348/6.773, allocations: 1.025 MB / 2.701 GB, free: 184.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00312/6.776, allocations: 1.173 MB / 2.702 GB, free: 183.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003142/6.779, allocations: 1.594 MB / 2.703 GB, free: 183.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/6.779, allocations: 2.312 kB / 2.703 GB, free: 183.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006518/6.78, allocations: 421.4 kB / 2.704 GB, free: 183.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004232/6.784, allocations: 0.7408 MB / 2.705 GB, free: 183.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00685/6.791, allocations: 2.707 MB / 2.707 GB, free: 183 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008661/6.792, allocations: 1.403 MB / 2.709 GB, free: 182.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003359/6.795, allocations: 0.6053 MB / 2.709 GB, free: 182.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/6.796, allocations: 120.4 kB / 2.709 GB, free: 182.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/6.796, allocations: 0 / 2.709 GB, free: 182.2 MB / 1.151 GB Notification: Performance of Templates: time 0.06984/6.865, allocations: 41.99 MB / 2.75 GB, free: 180.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches