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.361/1.361, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 185.7 kB / 326.5 MB, free: 2.258 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.761/1.761, allocations: 205.4 MB / 0.5776 GB, free: 20.6 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.0009502/0.0009502, allocations: 94.94 kB / 0.6821 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 9.906 kB / 0.7962 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2474, allocations: 106.3 MB / 0.9001 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.281, allocations: 442.9 MB / 1.333 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/1.281, allocations: 100.1 kB / 1.333 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.591/4.872, allocations: 0.9609 GB / 2.294 GB, free: 118 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.833e-06/4.872, allocations: 0 / 2.294 GB, free: 118 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004014/4.873, allocations: 54.27 kB / 2.294 GB, free: 118 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.008862/4.882, allocations: 2.648 MB / 2.296 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/4.882, allocations: 7.031 kB / 2.296 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/4.886, allocations: 0.731 MB / 2.297 GB, free: 115.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01976/4.906, allocations: 8.854 MB / 2.306 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/4.906, allocations: 102.2 kB / 2.306 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/4.906, allocations: 135.4 kB / 2.306 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002713/4.909, allocations: 1.536 MB / 2.307 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/4.909, allocations: 7.375 kB / 2.307 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/4.909, allocations: 50.12 kB / 2.307 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/4.909, allocations: 29.03 kB / 2.307 GB, free: 109.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/4.912, allocations: 1.214 MB / 2.309 GB, free: 108.5 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009297/4.921, allocations: 8.381 MB / 2.317 GB, free: 101 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/4.925, allocations: 1.145 MB / 2.318 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00448/4.929, allocations: 2.947 MB / 2.321 GB, free: 97.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/4.93, allocations: 0.5227 MB / 2.321 GB, free: 96.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008018/4.931, allocations: 196.8 kB / 2.321 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=66): time 2.405e-06/4.931, allocations: 0 / 2.321 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=66): time 0.003039/4.934, allocations: 1.305 MB / 2.323 GB, free: 95.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/4.934, allocations: 118.3 kB / 2.323 GB, free: 95.06 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/4.936, allocations: 1.36 MB / 2.324 GB, free: 93.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.481e-05/4.936, allocations: 41.7 kB / 2.324 GB, free: 93.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/4.936, allocations: 0.9002 MB / 2.325 GB, free: 92.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/4.937, allocations: 236.6 kB / 2.325 GB, free: 92.47 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/4.937, allocations: 20 kB / 2.325 GB, free: 92.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/4.937, allocations: 352.3 kB / 2.326 GB, free: 92.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000983/4.938, allocations: 426.5 kB / 2.326 GB, free: 91.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/4.939, allocations: 0.8954 MB / 2.327 GB, free: 90.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/4.94, allocations: 0.5488 MB / 2.327 GB, free: 90.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/4.94, allocations: 4 kB / 2.327 GB, free: 90.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002646/4.943, allocations: 1.446 MB / 2.329 GB, free: 88.58 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008926/4.944, allocations: 5.111 MB / 2.334 GB, free: 83.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/4.944, allocations: 12 kB / 2.334 GB, free: 83.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/4.944, allocations: 23.98 kB / 2.334 GB, free: 83.03 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/4.945, allocations: 287.6 kB / 2.334 GB, free: 82.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/4.945, allocations: 23.92 kB / 2.334 GB, free: 82.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/4.946, allocations: 155.7 kB / 2.334 GB, free: 82.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/4.947, allocations: 67.97 kB / 2.334 GB, free: 82.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/4.947, allocations: 7.953 kB / 2.334 GB, free: 82.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002466/4.949, allocations: 1.27 MB / 2.336 GB, free: 81.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/4.949, allocations: 15.98 kB / 2.336 GB, free: 81.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/4.949, allocations: 20 kB / 2.336 GB, free: 81.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/4.95, allocations: 287.6 kB / 2.336 GB, free: 80.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/4.95, allocations: 31.23 kB / 2.336 GB, free: 80.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/4.952, allocations: 155.7 kB / 2.336 GB, free: 80.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/4.952, allocations: 59.97 kB / 2.336 GB, free: 80.67 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 () * Number of clocked 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.001055/4.953, allocations: 0.4938 MB / 2.337 GB, free: 80.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002359/4.953, allocations: 177.8 kB / 2.337 GB, free: 79.99 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/4.956, allocations: 1.267 MB / 2.338 GB, free: 78.73 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/4.956, allocations: 11.98 kB / 2.338 GB, free: 78.72 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/4.956, allocations: 0 / 2.338 GB, free: 78.72 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001958/4.958, allocations: 1.16 MB / 2.339 GB, free: 77.49 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005086/4.963, allocations: 2.675 MB / 2.342 GB, free: 74.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/4.963, allocations: 4.062 kB / 2.342 GB, free: 74.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/4.964, allocations: 171.7 kB / 2.342 GB, free: 74.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/4.964, allocations: 4 kB / 2.342 GB, free: 74.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/4.964, allocations: 31.97 kB / 2.342 GB, free: 74.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/4.964, allocations: 4 kB / 2.342 GB, free: 74.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/4.964, allocations: 0 / 2.342 GB, free: 74.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/4.967, allocations: 1.813 MB / 2.344 GB, free: 72.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/4.968, allocations: 346.7 kB / 2.344 GB, free: 72.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/4.968, allocations: 19.95 kB / 2.344 GB, free: 72.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/4.969, allocations: 135.2 kB / 2.344 GB, free: 72.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/4.969, allocations: 56.58 kB / 2.344 GB, free: 72.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-05/4.969, allocations: 31.97 kB / 2.344 GB, free: 72.07 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00126/4.971, allocations: 1.043 MB / 2.345 GB, free: 71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.4e-07/4.971, allocations: 4 kB / 2.345 GB, free: 71 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003585/4.974, allocations: 1.064 MB / 2.346 GB, free: 69.93 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) * Number of clocked states: 0 () * 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.001975/4.976, allocations: 1.219 MB / 2.348 GB, free: 68.79 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003769/4.98, allocations: 1.896 MB / 2.349 GB, free: 66.86 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/4.98, allocations: 0 / 2.349 GB, free: 66.86 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/4.981, allocations: 0.5074 MB / 2.35 GB, free: 66.35 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/4.984, allocations: 0.7656 MB / 2.351 GB, free: 65.62 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/4.991, allocations: 4.152 MB / 2.355 GB, free: 61.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/4.992, allocations: 1.412 MB / 2.356 GB, free: 60.02 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002198/4.994, allocations: 471.6 kB / 2.357 GB, free: 59.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/4.995, allocations: 147.4 kB / 2.357 GB, free: 59.47 MB / 0.8855 GB Notification: Performance of SimCode: time 1.503e-06/4.995, allocations: 0 / 2.357 GB, free: 59.47 MB / 0.8855 GB Notification: Performance of Templates: time 0.0579/5.053, allocations: 38.39 MB / 2.394 GB, free: 22.03 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