Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_a.T|subSta.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|subSta.Q_flow|subSta.m_flow|subSta.sta_a.T|subSta.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001537, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 12 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8037, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.06913/0.8729, allocations: 47.96 MB / 1 GB, free: 92 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02966/0.9026, allocations: 12.9 MB / 1.013 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.9063, allocations: 59.62 kB / 1.013 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004188/0.9106, allocations: 0.8358 MB / 1.014 GB, free: 2.27 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.9215, allocations: 2.25 MB / 1.016 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007879/0.9294, allocations: 1.855 MB / 1.018 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007723/0.9371, allocations: 2.308 MB / 1.02 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.9398, allocations: 1.031 MB / 1.021 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003167/0.943, allocations: 1.105 MB / 1.022 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001584/0.9446, allocations: 0.6999 MB / 1.023 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.9448, allocations: 52 kB / 1.023 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.9478, allocations: 1.077 MB / 1.024 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004041/0.9483, allocations: 310.8 kB / 1.024 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005738/0.9488, allocations: 360.9 kB / 1.025 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.9521, allocations: 2.299 MB / 1.027 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.9522, allocations: 4 kB / 1.027 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9522, allocations: 0 / 1.027 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.9522, allocations: 0 / 1.027 GB, free: 4.914 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003473/0.9557, allocations: 1.823 MB / 1.029 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.9557, allocations: 12.03 kB / 1.029 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.958, allocations: 493.5 kB / 1.029 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003146/0.9612, allocations: 1.528 MB / 1.031 GB, free: 0.9492 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006286/0.9618, allocations: 197.9 kB / 1.031 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.962, allocations: 91.95 kB / 1.031 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.9644, allocations: 1.143 MB / 1.032 GB, free: 15.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.9645, allocations: 4 kB / 1.032 GB, free: 15.47 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/0.9646, allocations: 36 kB / 1.032 GB, free: 15.44 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.9646, allocations: 20 kB / 1.032 GB, free: 15.42 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.9674, allocations: 1.046 MB / 1.033 GB, free: 14.38 MB / 0.795 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.007907/0.9753, allocations: 5.205 MB / 1.038 GB, free: 8.879 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.9775, allocations: 0.727 MB / 1.039 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002792/0.9803, allocations: 1.858 MB / 1.041 GB, free: 6.113 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.9816, allocations: 0.5338 MB / 1.041 GB, free: 5.555 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003946/0.982, allocations: 83.28 kB / 1.041 GB, free: 5.473 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.982, allocations: 0 / 1.041 GB, free: 5.473 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.003551/0.9856, allocations: 1.346 MB / 1.043 GB, free: 4.094 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.9857, allocations: 110.8 kB / 1.043 GB, free: 3.961 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.9875, allocations: 1.332 MB / 1.044 GB, free: 2.617 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.124e-05/0.9876, allocations: 41.7 kB / 1.044 GB, free: 2.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006607/0.9883, allocations: 0.6532 MB / 1.045 GB, free: 1.91 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.9884, allocations: 145.9 kB / 1.045 GB, free: 1.766 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.9885, allocations: 12 kB / 1.045 GB, free: 1.754 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9886, allocations: 330 kB / 1.045 GB, free: 1.426 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.9897, allocations: 393 kB / 1.046 GB, free: 1.039 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.9911, allocations: 0.6434 MB / 1.046 GB, free: 288 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.9923, allocations: 465.8 kB / 1.047 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.9923, allocations: 0 / 1.047 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003064/0.9954, allocations: 1.197 MB / 1.048 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001435/0.9968, allocations: 2.799 MB / 1.05 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.9969, allocations: 4 kB / 1.05 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.646e-05/0.9969, allocations: 12.23 kB / 1.051 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.9978, allocations: 223.7 kB / 1.051 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/0.9979, allocations: 19.91 kB / 1.051 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.9994, allocations: 141.1 kB / 1.051 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.9995, allocations: 43.98 kB / 1.051 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9995, allocations: 4 kB / 1.051 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002435/1.002, allocations: 1.017 MB / 1.052 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/1.002, allocations: 8.625 kB / 1.052 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.002, allocations: 12 kB / 1.052 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/1.003, allocations: 199.7 kB / 1.052 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/1.003, allocations: 11.94 kB / 1.052 GB, free: 9.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/1.004, allocations: 131.9 kB / 1.052 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/1.004, allocations: 35.98 kB / 1.052 GB, free: 9.797 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * 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.0009509/1.005, allocations: 0.4907 MB / 1.053 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002195/1.005, allocations: 134.3 kB / 1.053 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002947/1.008, allocations: 1.128 MB / 1.054 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.008, allocations: 12 kB / 1.054 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.008, allocations: 0 / 1.054 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/1.008, allocations: 3.953 kB / 1.054 GB, free: 8.008 MB / 0.8106 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.004832/1.013, allocations: 2.446 MB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.013, allocations: 4 kB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/1.014, allocations: 147.9 kB / 1.057 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/1.014, allocations: 4 kB / 1.057 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/1.014, allocations: 19.98 kB / 1.057 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/1.014, allocations: 7.938 kB / 1.057 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.014, allocations: 0 / 1.057 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/1.017, allocations: 1.3 MB / 1.058 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/1.017, allocations: 347 kB / 1.058 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.018, allocations: 11.98 kB / 1.058 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.019, allocations: 135.9 kB / 1.058 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.019, allocations: 35.94 kB / 1.058 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-05/1.019, allocations: 31.97 kB / 1.058 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001358/1.02, allocations: 0.9184 MB / 1.059 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.41e-07/1.02, allocations: 3.938 kB / 1.059 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002282/1.023, allocations: 0.7173 MB / 1.06 GB, free: 1.703 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.001045/1.024, allocations: 467.5 kB / 1.06 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003952/1.028, allocations: 1.567 MB / 1.062 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.028, allocations: 4.062 kB / 1.062 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/1.029, allocations: 0.5166 MB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/1.032, allocations: 0.6042 MB / 1.063 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/1.037, allocations: 2.833 MB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/1.038, allocations: 1.229 MB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001622/1.039, allocations: 313 kB / 1.067 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.04, allocations: 107.4 kB / 1.067 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of SimCode: time 2.254e-06/1.04, allocations: 4 kB / 1.067 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of Templates: time 0.05195/1.092, allocations: 26.83 MB / 1.094 GB, free: 15.53 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.csv","../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches