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.44/1.44, allocations: 249.3 MB / 261.8 MB, free: 5.852 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.001062/0.001062, allocations: 161 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0007898/0.0007898, allocations: 94.47 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.276e-05, allocations: 0 / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1807, allocations: 106.3 MB / 0.8918 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.421, allocations: 442.8 MB / 1.324 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/1.421, allocations: 91.19 kB / 1.324 GB, free: 296.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.409/4.83, allocations: 0.9577 GB / 2.282 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.302e-06/4.83, allocations: 1.031 kB / 2.282 GB, free: 124.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002571/4.83, allocations: 61.22 kB / 2.282 GB, free: 124.5 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.006041/4.836, allocations: 2.134 MB / 2.284 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/4.836, allocations: 9.094 kB / 2.284 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/4.84, allocations: 0.7322 MB / 2.285 GB, free: 123.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02287/4.863, allocations: 8.777 MB / 2.293 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/4.864, allocations: 97.25 kB / 2.294 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/4.864, allocations: 138.7 kB / 2.294 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/4.867, allocations: 1.422 MB / 2.295 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/4.867, allocations: 5.625 kB / 2.295 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/4.867, allocations: 54.97 kB / 2.295 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-05/4.868, allocations: 33.94 kB / 2.295 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/4.87, allocations: 1.005 MB / 2.296 GB, free: 122.8 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.01276/4.882, allocations: 8.373 MB / 2.304 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/4.886, allocations: 0.9341 MB / 2.305 GB, free: 117.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007084/4.886, allocations: 385.4 kB / 2.306 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006323/4.893, allocations: 2.946 MB / 2.308 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007965/4.894, allocations: 431.7 kB / 2.309 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001295/4.895, allocations: 188.8 kB / 2.309 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 5.39e-06/4.895, allocations: 7.781 kB / 2.309 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.001508/4.896, allocations: 0.7623 MB / 2.31 GB, free: 116 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/4.897, allocations: 110.7 kB / 2.31 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002409/4.899, allocations: 1.343 MB / 2.311 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.75e-05/4.899, allocations: 43.02 kB / 2.311 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009806/4.9, allocations: 0.9029 MB / 2.312 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/4.9, allocations: 241.1 kB / 2.312 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/4.9, allocations: 22.2 kB / 2.312 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001145/4.9, allocations: 349.5 kB / 2.313 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/4.901, allocations: 325.3 kB / 2.313 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/4.902, allocations: 0.7946 MB / 2.314 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008093/4.903, allocations: 453.4 kB / 2.314 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/4.903, allocations: 8.25 kB / 2.314 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00254/4.905, allocations: 1.244 MB / 2.316 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001771/4.907, allocations: 5.115 MB / 2.32 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.825e-05/4.907, allocations: 13.94 kB / 2.321 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.84e-05/4.907, allocations: 20.47 kB / 2.321 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/4.909, allocations: 286.2 kB / 2.321 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-05/4.909, allocations: 31.39 kB / 2.321 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/4.912, allocations: 161 kB / 2.321 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/4.912, allocations: 64.19 kB / 2.321 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/4.912, allocations: 3.781 kB / 2.321 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002659/4.915, allocations: 1.067 MB / 2.322 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.887e-05/4.915, allocations: 14.09 kB / 2.322 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.168e-05/4.915, allocations: 20.12 kB / 2.322 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/4.916, allocations: 291.9 kB / 2.322 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.08e-05/4.916, allocations: 24.44 kB / 2.322 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/4.919, allocations: 144.2 kB / 2.323 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/4.919, allocations: 60.2 kB / 2.323 GB, free: 108.8 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.000453/4.919, allocations: 188.9 kB / 2.323 GB, free: 108.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/4.92, allocations: 177.3 kB / 2.323 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/4.922, allocations: 1.063 MB / 2.324 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/4.923, allocations: 15.52 kB / 2.324 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/4.923, allocations: 6.969 kB / 2.324 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/4.924, allocations: 0.9489 MB / 2.325 GB, free: 108.1 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.005422/4.929, allocations: 2.481 MB / 2.327 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/4.929, allocations: 1.062 kB / 2.327 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/4.93, allocations: 178.9 kB / 2.328 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/4.93, allocations: 3.688 kB / 2.328 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.185e-05/4.93, allocations: 26.39 kB / 2.328 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/4.93, allocations: 3.156 kB / 2.328 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/4.93, allocations: 1.031 kB / 2.328 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/4.933, allocations: 1.506 MB / 2.329 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/4.934, allocations: 352.5 kB / 2.329 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/4.934, allocations: 25.27 kB / 2.329 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/4.935, allocations: 126.5 kB / 2.33 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/4.935, allocations: 54.17 kB / 2.33 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.592e-05/4.935, allocations: 34.8 kB / 2.33 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001671/4.937, allocations: 1.022 MB / 2.331 GB, free: 107 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/4.937, allocations: 3.5 kB / 2.331 GB, free: 107 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003941/4.941, allocations: 1.07 MB / 2.332 GB, free: 106.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.002475/4.943, allocations: 1.213 MB / 2.333 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003088/4.946, allocations: 1.659 MB / 2.334 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/4.946, allocations: 3.062 kB / 2.334 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005952/4.947, allocations: 420.8 kB / 2.335 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/4.95, allocations: 0.7663 MB / 2.336 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/4.956, allocations: 2.71 MB / 2.338 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007376/4.957, allocations: 1.412 MB / 2.34 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002815/4.96, allocations: 0.5914 MB / 2.34 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/4.96, allocations: 127.6 kB / 2.34 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.442e-06/4.96, allocations: 0 / 2.34 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.06797/5.028, allocations: 43.44 MB / 2.383 GB, free: 103 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