Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|pum.m_flow|ECoo.y|EHea.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.0009469/0.0009469, allocations: 168.9 kB / 487.4 MB, free: 5.035 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.424/1.424, allocations: 221.5 MB / 0.7824 GB, free: 1.008 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.0008634/0.0008637, allocations: 99.83 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.46e-05/1.462e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2616, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.412, allocations: 448 MB / 1.643 GB, free: 6.914 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/1.413, allocations: 98 kB / 1.644 GB, free: 6.863 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.147/4.56, allocations: 0.9956 GB / 2.639 GB, free: 400 kB / 1.151 GB Notification: Performance of FrontEnd: time 1.453e-06/4.56, allocations: 0 / 2.639 GB, free: 400 kB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003422/4.56, allocations: 59.8 kB / 2.639 GB, free: 340 kB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.6135/5.174, allocations: 2.08 MB / 2.641 GB, free: 206.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/5.174, allocations: 14.56 kB / 2.641 GB, free: 206.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/5.178, allocations: 0.8148 MB / 2.642 GB, free: 206.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02125/5.2, allocations: 9.067 MB / 2.651 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/5.2, allocations: 42.92 kB / 2.651 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003925/5.2, allocations: 74.75 kB / 2.651 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001926/5.202, allocations: 0.9531 MB / 2.652 GB, free: 205.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/5.204, allocations: 1.224 MB / 2.653 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/5.204, allocations: 8.422 kB / 2.653 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/5.204, allocations: 3.156 kB / 2.653 GB, free: 205.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/5.204, allocations: 50.64 kB / 2.653 GB, free: 205.5 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.008808/5.213, allocations: 8.183 MB / 2.661 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/5.216, allocations: 0.9519 MB / 2.662 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005185/5.216, allocations: 391.5 kB / 2.662 GB, free: 200.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004025/5.22, allocations: 2.941 MB / 2.665 GB, free: 199 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005059/5.221, allocations: 415.9 kB / 2.666 GB, free: 199 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006182/5.221, allocations: 160.4 kB / 2.666 GB, free: 198.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 2.474e-06/5.221, allocations: 2.469 kB / 2.666 GB, free: 198.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.001601/5.223, allocations: 0.8387 MB / 2.667 GB, free: 198.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/5.223, allocations: 71.23 kB / 2.667 GB, free: 198.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/5.224, allocations: 1.155 MB / 2.668 GB, free: 198.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.649e-05/5.224, allocations: 25.7 kB / 2.668 GB, free: 198.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/5.225, allocations: 0.8877 MB / 2.669 GB, free: 198.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/5.225, allocations: 236.7 kB / 2.669 GB, free: 198.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/5.225, allocations: 0 / 2.669 GB, free: 198.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/5.225, allocations: 345.9 kB / 2.669 GB, free: 197.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/5.225, allocations: 311.9 kB / 2.67 GB, free: 197.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/5.226, allocations: 0.742 MB / 2.67 GB, free: 197.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/5.227, allocations: 488.6 kB / 2.671 GB, free: 197.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/5.227, allocations: 3.875 kB / 2.671 GB, free: 197.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.001894/5.229, allocations: 1.186 MB / 2.672 GB, free: 197.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007562/5.23, allocations: 5.076 MB / 2.677 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/5.23, allocations: 14.34 kB / 2.677 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/5.23, allocations: 19.38 kB / 2.677 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/5.231, allocations: 303.6 kB / 2.677 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/5.231, allocations: 26.66 kB / 2.677 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/5.232, allocations: 137.7 kB / 2.677 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.389e-05/5.232, allocations: 69.86 kB / 2.678 GB, free: 191.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/5.232, allocations: 3.969 kB / 2.678 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/5.234, allocations: 0.9678 MB / 2.678 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/5.234, allocations: 11.94 kB / 2.678 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/5.234, allocations: 32.12 kB / 2.679 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/5.235, allocations: 304 kB / 2.679 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/5.235, allocations: 27.98 kB / 2.679 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/5.236, allocations: 132.5 kB / 2.679 GB, free: 191.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/5.236, allocations: 60.52 kB / 2.679 GB, free: 191.9 MB / 1.151 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 (130): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * 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.000185/5.237, allocations: 139.6 kB / 2.679 GB, free: 191.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/5.237, allocations: 167.7 kB / 2.679 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/5.239, allocations: 1.066 MB / 2.68 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/5.239, allocations: 17.05 kB / 2.68 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/5.239, allocations: 3.594 kB / 2.68 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001245/5.24, allocations: 0.9633 MB / 2.681 GB, free: 191.2 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 postOpt removeSimpleEquations (simulation): time 0.004047/5.244, allocations: 2.363 MB / 2.684 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/5.244, allocations: 1.031 kB / 2.684 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/5.245, allocations: 188.1 kB / 2.684 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/5.245, allocations: 8.141 kB / 2.684 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/5.245, allocations: 19.53 kB / 2.684 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/5.245, allocations: 3.562 kB / 2.684 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/5.245, allocations: 6.297 kB / 2.684 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/5.247, allocations: 1.508 MB / 2.685 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/5.248, allocations: 342.5 kB / 2.686 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/5.248, allocations: 5.297 kB / 2.686 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/5.249, allocations: 123.8 kB / 2.686 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/5.249, allocations: 63.2 kB / 2.686 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/5.249, allocations: 35 kB / 2.686 GB, free: 190.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008958/5.25, allocations: 0.8599 MB / 2.687 GB, free: 190.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/5.25, allocations: 0 / 2.687 GB, free: 190.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003157/5.253, allocations: 0.9873 MB / 2.688 GB, free: 190.2 MB / 1.151 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.s[1],pum.filter.s[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 (77): * Single equations (assignments): 68 * 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.001693/5.255, allocations: 1.122 MB / 2.689 GB, free: 190 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002016/5.257, allocations: 1.502 MB / 2.69 GB, free: 189.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/5.257, allocations: 2.438 kB / 2.69 GB, free: 189.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005243/5.258, allocations: 408.1 kB / 2.691 GB, free: 189.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/5.26, allocations: 0.6738 MB / 2.691 GB, free: 189.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/5.266, allocations: 2.679 MB / 2.694 GB, free: 189.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/5.266, allocations: 1.403 MB / 2.695 GB, free: 188.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002627/5.269, allocations: 0.572 MB / 2.696 GB, free: 188.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/5.269, allocations: 119.4 kB / 2.696 GB, free: 188.4 MB / 1.151 GB Notification: Performance of SimCode: time 6.71e-07/5.269, allocations: 6.406 kB / 2.696 GB, free: 188.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04803/5.317, allocations: 34.46 MB / 2.73 GB, free: 187.5 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches