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.297/2.297, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.00106/0.00106, allocations: 168.9 kB / 492.3 MB, free: 0.6328 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.677/1.677, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009624/0.0009624, allocations: 89.91 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.101e-05/5.104e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3951, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.46/1.855, allocations: 401.4 MB / 1.604 GB, free: 12.68 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.855, allocations: 89.58 kB / 1.604 GB, free: 12.63 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 2.135/3.99, allocations: 0.5767 GB / 2.181 GB, free: 15.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.394e-06/3.99, allocations: 4 kB / 2.181 GB, free: 15.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.365e-05/3.99, allocations: 23.98 kB / 2.181 GB, free: 15.54 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.00272/3.993, allocations: 1.169 MB / 2.182 GB, free: 14.32 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/3.993, allocations: 8.031 kB / 2.182 GB, free: 14.31 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/3.995, allocations: 490.3 kB / 2.183 GB, free: 13.83 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0149/4.01, allocations: 7.244 MB / 2.19 GB, free: 6.477 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/4.01, allocations: 53.25 kB / 2.19 GB, free: 6.426 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/4.01, allocations: 52 kB / 2.19 GB, free: 6.375 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/4.011, allocations: 0.6988 MB / 2.191 GB, free: 5.629 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/4.012, allocations: 4 kB / 2.191 GB, free: 5.625 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.177e-05/4.012, allocations: 20 kB / 2.191 GB, free: 5.605 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/4.012, allocations: 33.28 kB / 2.191 GB, free: 5.574 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/4.012, allocations: 0.5205 MB / 2.191 GB, free: 5.051 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.00553/4.018, allocations: 4.617 MB / 2.196 GB, free: 40 kB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.895/4.913, allocations: 0.6189 MB / 2.196 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/4.914, allocations: 225.2 kB / 2.197 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007711/4.914, allocations: 0.9332 MB / 2.197 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/4.914, allocations: 36.45 kB / 2.197 GB, free: 275.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 3.437e-06/4.914, allocations: 0 / 2.197 GB, free: 275.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.00122/4.916, allocations: 476.1 kB / 2.198 GB, free: 275.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/4.916, allocations: 55.59 kB / 2.198 GB, free: 275.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/4.917, allocations: 0.6078 MB / 2.199 GB, free: 275.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/4.917, allocations: 34.33 kB / 2.199 GB, free: 275.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/4.917, allocations: 443.4 kB / 2.199 GB, free: 275 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/4.917, allocations: 128.1 kB / 2.199 GB, free: 275 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/4.917, allocations: 9.562 kB / 2.199 GB, free: 275 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.155e-05/4.918, allocations: 325.2 kB / 2.199 GB, free: 274.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/4.918, allocations: 184.2 kB / 2.2 GB, free: 274.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/4.918, allocations: 382.8 kB / 2.2 GB, free: 274.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/4.919, allocations: 193.1 kB / 2.2 GB, free: 274.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/4.919, allocations: 4.938 kB / 2.2 GB, free: 274.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001243/4.92, allocations: 0.6032 MB / 2.201 GB, free: 274.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003765/4.92, allocations: 1.666 MB / 2.202 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/4.92, allocations: 4.469 kB / 2.202 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/4.921, allocations: 11.55 kB / 2.202 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/4.921, allocations: 185 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/4.921, allocations: 10.59 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/4.923, allocations: 164.4 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/4.923, allocations: 27.53 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/4.923, allocations: 5.719 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001042/4.924, allocations: 0.493 MB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/4.924, allocations: 3.875 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/4.924, allocations: 5.688 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009148/4.925, allocations: 194.2 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/4.925, allocations: 10.05 kB / 2.203 GB, free: 272.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/4.926, allocations: 165.7 kB / 2.204 GB, free: 272.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/4.926, allocations: 25.03 kB / 2.204 GB, free: 272.6 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.000186/4.926, allocations: 131.3 kB / 2.204 GB, free: 272.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/4.926, allocations: 78.02 kB / 2.204 GB, free: 272.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/4.928, allocations: 0.6747 MB / 2.205 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/4.928, allocations: 6.453 kB / 2.205 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/4.928, allocations: 3.953 kB / 2.205 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/4.928, allocations: 6.375 kB / 2.205 GB, free: 272.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/4.931, allocations: 1.544 MB / 2.206 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/4.931, allocations: 1.25 kB / 2.206 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008263/4.932, allocations: 153.9 kB / 2.206 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/4.932, allocations: 5.75 kB / 2.206 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/4.932, allocations: 16.16 kB / 2.206 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/4.932, allocations: 1.938 kB / 2.206 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/4.932, allocations: 4.406 kB / 2.206 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/4.934, allocations: 1.031 MB / 2.207 GB, free: 271.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/4.934, allocations: 229.5 kB / 2.207 GB, free: 271.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/4.934, allocations: 13.77 kB / 2.207 GB, free: 271.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008535/4.935, allocations: 122.5 kB / 2.208 GB, free: 271.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/4.935, allocations: 37 kB / 2.208 GB, free: 271.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/4.935, allocations: 14.78 kB / 2.208 GB, free: 271.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008252/4.936, allocations: 491.8 kB / 2.208 GB, free: 271.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/4.936, allocations: 3.375 kB / 2.208 GB, free: 271.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001797/4.938, allocations: 459.3 kB / 2.209 GB, free: 271.6 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.001116/4.939, allocations: 0.5082 MB / 2.209 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001682/4.941, allocations: 0.8038 MB / 2.21 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/4.941, allocations: 1.094 kB / 2.21 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/4.941, allocations: 280 kB / 2.21 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/4.943, allocations: 323.1 kB / 2.21 GB, free: 271.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006199/4.949, allocations: 1.621 MB / 2.212 GB, free: 271.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007364/4.95, allocations: 0.9866 MB / 2.213 GB, free: 270.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001607/4.951, allocations: 248.1 kB / 2.213 GB, free: 270.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/4.952, allocations: 64.25 kB / 2.213 GB, free: 270.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.643e-06/4.952, allocations: 3.062 kB / 2.213 GB, free: 270.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04086/4.993, allocations: 18.84 MB / 2.232 GB, free: 270.2 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