Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pla.m_flow|pla.m_flow_nominal|pla.sta_a.T|pla.sta_b.T|Q_flow_nominal|pla.QHea_flow|pla.QCoo_flow|pla.dp|pla.dp_nominal",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.023/2.023, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009459/0.0009458, allocations: 172.8 kB / 487.4 MB, free: 5.055 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.392/1.392, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008472/0.0008475, allocations: 94.72 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.408e-05/1.409e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2962, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.416, allocations: 400.7 MB / 1.597 GB, free: 5.301 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.417, allocations: 92.73 kB / 1.597 GB, free: 5.25 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/3.011, allocations: 0.5741 GB / 2.171 GB, free: 30.17 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.623e-06/3.011, allocations: 0 / 2.171 GB, free: 30.17 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.838e-05/3.011, allocations: 31.92 kB / 2.171 GB, free: 30.14 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002195/3.013, allocations: 1.173 MB / 2.173 GB, free: 28.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/3.013, allocations: 16.03 kB / 2.173 GB, free: 28.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/3.016, allocations: 482.3 kB / 2.173 GB, free: 28.43 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/3.029, allocations: 7.207 MB / 2.18 GB, free: 21.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/3.029, allocations: 20 kB / 2.18 GB, free: 21.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/3.029, allocations: 32 kB / 2.18 GB, free: 21.06 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008031/3.03, allocations: 482.6 kB / 2.181 GB, free: 20.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/3.031, allocations: 0.6229 MB / 2.181 GB, free: 19.93 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/3.031, allocations: 7.938 kB / 2.181 GB, free: 19.92 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/3.031, allocations: 0 / 2.181 GB, free: 19.92 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/3.031, allocations: 33.25 kB / 2.181 GB, free: 19.89 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.004612/3.036, allocations: 4.494 MB / 2.186 GB, free: 15.01 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/3.038, allocations: 0.6193 MB / 2.186 GB, free: 14.38 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/3.038, allocations: 224.7 kB / 2.187 GB, free: 14.16 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005999/3.038, allocations: 0.9376 MB / 2.187 GB, free: 13.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/3.038, allocations: 42.44 kB / 2.187 GB, free: 12.97 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 2.184e-06/3.038, allocations: 0 / 2.187 GB, free: 12.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.0009659/3.039, allocations: 493 kB / 2.188 GB, free: 12.48 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/3.039, allocations: 51.41 kB / 2.188 GB, free: 12.42 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005137/3.04, allocations: 0.5353 MB / 2.189 GB, free: 11.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/3.04, allocations: 29.7 kB / 2.189 GB, free: 11.84 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/3.04, allocations: 447.6 kB / 2.189 GB, free: 11.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/3.04, allocations: 118.2 kB / 2.189 GB, free: 11.28 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/3.04, allocations: 4 kB / 2.189 GB, free: 11.27 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/3.04, allocations: 322 kB / 2.189 GB, free: 10.95 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/3.041, allocations: 177.1 kB / 2.19 GB, free: 10.78 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/3.041, allocations: 366.7 kB / 2.19 GB, free: 10.34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/3.041, allocations: 232.8 kB / 2.19 GB, free: 10.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/3.041, allocations: 4 kB / 2.19 GB, free: 10.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000894/3.042, allocations: 0.5934 MB / 2.191 GB, free: 9.508 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002688/3.043, allocations: 1.653 MB / 2.192 GB, free: 7.727 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/3.043, allocations: 4 kB / 2.192 GB, free: 7.723 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/3.043, allocations: 8 kB / 2.192 GB, free: 7.715 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/3.043, allocations: 191.7 kB / 2.193 GB, free: 7.527 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/3.043, allocations: 11.97 kB / 2.193 GB, free: 7.516 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/3.044, allocations: 147.5 kB / 2.193 GB, free: 7.371 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/3.044, allocations: 31.97 kB / 2.193 GB, free: 7.34 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.133e-06/3.044, allocations: 4 kB / 2.193 GB, free: 7.336 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008183/3.045, allocations: 495 kB / 2.193 GB, free: 6.852 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/3.045, allocations: 7.953 kB / 2.193 GB, free: 6.844 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/3.045, allocations: 8 kB / 2.193 GB, free: 6.836 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/3.046, allocations: 184.3 kB / 2.193 GB, free: 6.656 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/3.046, allocations: 11.94 kB / 2.193 GB, free: 6.645 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/3.047, allocations: 147.5 kB / 2.194 GB, free: 6.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/3.047, allocations: 27.98 kB / 2.194 GB, free: 6.473 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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.0001222/3.047, allocations: 112.9 kB / 2.194 GB, free: 6.355 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/3.047, allocations: 75.06 kB / 2.194 GB, free: 6.281 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/3.048, allocations: 0.6703 MB / 2.194 GB, free: 5.609 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/3.048, allocations: 4 kB / 2.194 GB, free: 5.605 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/3.048, allocations: 0 / 2.194 GB, free: 5.605 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/3.048, allocations: 7.984 kB / 2.194 GB, free: 5.598 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/3.05, allocations: 1.462 MB / 2.196 GB, free: 4.082 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/3.05, allocations: 4 kB / 2.196 GB, free: 4.078 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/3.051, allocations: 151.9 kB / 2.196 GB, free: 3.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/3.051, allocations: 4 kB / 2.196 GB, free: 3.926 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/3.051, allocations: 7.984 kB / 2.196 GB, free: 3.918 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/3.051, allocations: 8 kB / 2.196 GB, free: 3.91 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/3.051, allocations: 0 / 2.196 GB, free: 3.91 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/3.052, allocations: 1.017 MB / 2.197 GB, free: 2.844 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/3.053, allocations: 220 kB / 2.197 GB, free: 2.609 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.246e-05/3.053, allocations: 4 kB / 2.197 GB, free: 2.605 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/3.053, allocations: 123.9 kB / 2.197 GB, free: 2.484 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/3.054, allocations: 39.61 kB / 2.197 GB, free: 2.445 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/3.054, allocations: 15.98 kB / 2.197 GB, free: 2.43 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004042/3.054, allocations: 423.1 kB / 2.198 GB, free: 2.02 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/3.054, allocations: 0 / 2.198 GB, free: 2.02 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001253/3.055, allocations: 439.1 kB / 2.198 GB, free: 1.59 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (pla.coo.outCon.T,pla.hea.outCon.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0008274/3.056, allocations: 0.5125 MB / 2.199 GB, free: 1.074 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001004/3.057, allocations: 0.7734 MB / 2.199 GB, free: 308 kB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/3.057, allocations: 7.938 kB / 2.199 GB, free: 300 kB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003064/3.057, allocations: 263.8 kB / 2.2 GB, free: 36 kB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.555/3.612, allocations: 285.6 kB / 2.2 GB, free: 278 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/3.618, allocations: 1.593 MB / 2.202 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/3.619, allocations: 0.9861 MB / 2.202 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001203/3.62, allocations: 238.2 kB / 2.203 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/3.62, allocations: 57.78 kB / 2.203 GB, free: 277 MB / 1.151 GB Notification: Performance of SimCode: time 8.11e-07/3.62, allocations: 0 / 2.203 GB, free: 277 MB / 1.151 GB Notification: Performance of Templates: time 0.02514/3.645, allocations: 15.52 MB / 2.218 GB, free: 276.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches