Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|EHea.y|ECoo.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|EHea.y|ECoo.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.434/1.434, allocations: 249.5 MB / 257 MB, free: 6.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009914/0.0009914, allocations: 176.8 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 101.7 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.129e-05/1.132e-05, allocations: 7.984 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1827, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.368/1.551, allocations: 443.1 MB / 1.318 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/1.551, allocations: 96.77 kB / 1.318 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.454/5.006, allocations: 0.9532 GB / 2.271 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.904e-06/5.006, allocations: 1.578 kB / 2.271 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002837/5.006, allocations: 58.83 kB / 2.271 GB, free: 126.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00643/5.012, allocations: 2.133 MB / 2.273 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/5.012, allocations: 9.812 kB / 2.273 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/5.017, allocations: 0.7286 MB / 2.274 GB, free: 125.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02253/5.04, allocations: 8.759 MB / 2.283 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.547e-05/5.04, allocations: 40.7 kB / 2.283 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/5.04, allocations: 85.64 kB / 2.283 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002026/5.042, allocations: 0.9344 MB / 2.284 GB, free: 124.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/5.044, allocations: 1.232 MB / 2.285 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.704e-05/5.044, allocations: 5.422 kB / 2.285 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/5.045, allocations: 3.5 kB / 2.285 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.984e-05/5.045, allocations: 31.81 kB / 2.285 GB, free: 124.4 MB / 0.8855 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.01063/5.055, allocations: 8.15 MB / 2.293 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/5.058, allocations: 0.9327 MB / 2.294 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/5.059, allocations: 373.2 kB / 2.294 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00524/5.064, allocations: 2.901 MB / 2.297 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/5.065, allocations: 413.4 kB / 2.297 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001183/5.066, allocations: 165 kB / 2.297 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 3.467e-06/5.066, allocations: 0 / 2.297 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.002264/5.068, allocations: 0.8262 MB / 2.298 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/5.068, allocations: 114.9 kB / 2.298 GB, free: 117.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/5.07, allocations: 1.183 MB / 2.3 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/5.07, allocations: 27.86 kB / 2.3 GB, free: 117.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/5.071, allocations: 0.9027 MB / 2.3 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/5.071, allocations: 225.8 kB / 2.301 GB, free: 117 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/5.071, allocations: 0 / 2.301 GB, free: 117 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001086/5.071, allocations: 346.6 kB / 2.301 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/5.072, allocations: 318 kB / 2.301 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007078/5.073, allocations: 0.7733 MB / 2.302 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/5.074, allocations: 0.4954 MB / 2.303 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/5.074, allocations: 4.125 kB / 2.303 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002749/5.077, allocations: 1.215 MB / 2.304 GB, free: 116 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000943/5.078, allocations: 5.087 MB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.65e-05/5.078, allocations: 13.84 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.605e-05/5.078, allocations: 20.78 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/5.079, allocations: 293.8 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.767e-05/5.079, allocations: 25.78 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/5.081, allocations: 127.6 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/5.081, allocations: 66 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/5.081, allocations: 8.625 kB / 2.309 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002224/5.083, allocations: 0.9967 MB / 2.31 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/5.083, allocations: 15.66 kB / 2.31 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/5.083, allocations: 23.8 kB / 2.31 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/5.085, allocations: 293.5 kB / 2.311 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/5.085, allocations: 24.72 kB / 2.311 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/5.086, allocations: 131.5 kB / 2.311 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/5.087, allocations: 64.61 kB / 2.311 GB, free: 110.6 MB / 0.8855 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 (131): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.000276/5.087, allocations: 144.8 kB / 2.311 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/5.087, allocations: 168 kB / 2.311 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/5.089, allocations: 1.038 MB / 2.312 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/5.09, allocations: 18.67 kB / 2.312 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/5.09, allocations: 0 / 2.312 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/5.091, allocations: 0.9612 MB / 2.313 GB, free: 109.9 MB / 0.8855 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.004858/5.096, allocations: 2.34 MB / 2.315 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/5.096, allocations: 1 kB / 2.315 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009769/5.097, allocations: 175.2 kB / 2.315 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/5.097, allocations: 6.344 kB / 2.315 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/5.097, allocations: 20.11 kB / 2.315 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/5.097, allocations: 3.938 kB / 2.315 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/5.097, allocations: 0.7188 kB / 2.315 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/5.099, allocations: 1.496 MB / 2.317 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007516/5.1, allocations: 334.4 kB / 2.317 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/5.1, allocations: 11.09 kB / 2.317 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/5.101, allocations: 122.5 kB / 2.317 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/5.102, allocations: 58.16 kB / 2.317 GB, free: 109 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/5.102, allocations: 35.53 kB / 2.317 GB, free: 109 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001306/5.103, allocations: 0.8786 MB / 2.318 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.8e-07/5.103, allocations: 0 / 2.318 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004288/5.107, allocations: 1.018 MB / 2.319 GB, free: 108.8 MB / 0.8855 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.x[1],pum.filter.x[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 (76): * Single equations (assignments): 67 * 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.002072/5.109, allocations: 1.175 MB / 2.32 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002375/5.112, allocations: 1.578 MB / 2.322 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/5.112, allocations: 3.75 kB / 2.322 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004791/5.112, allocations: 393.8 kB / 2.322 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003306/5.115, allocations: 0.7104 MB / 2.323 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/5.121, allocations: 2.658 MB / 2.326 GB, free: 107.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007084/5.122, allocations: 1.418 MB / 2.327 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002738/5.125, allocations: 0.577 MB / 2.328 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/5.125, allocations: 126.5 kB / 2.328 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.132e-06/5.125, allocations: 0 / 2.328 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.05149/5.177, allocations: 35.86 MB / 2.363 GB, free: 105.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.csv","../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches