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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.016/2.016, 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.0009895/0.0009895, allocations: 172.8 kB / 487.4 MB, free: 5.047 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.446/1.446, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.0008887/0.0008886, allocations: 97.58 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.792e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2924, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.426, allocations: 440.7 MB / 1.636 GB, free: 13.97 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.427, allocations: 91.16 kB / 1.636 GB, free: 13.93 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.665/4.092, allocations: 0.7009 GB / 2.337 GB, free: 269.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.663e-06/4.092, allocations: 0 / 2.337 GB, free: 269.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002521/4.092, allocations: 44.5 kB / 2.337 GB, free: 269.5 MB / 1.151 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.004025/4.096, allocations: 1.72 MB / 2.339 GB, free: 268.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/4.096, allocations: 10.91 kB / 2.339 GB, free: 268.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/4.099, allocations: 434.9 kB / 2.34 GB, free: 268.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01706/4.116, allocations: 8.708 MB / 2.348 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.539e-05/4.116, allocations: 31.36 kB / 2.348 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/4.116, allocations: 52.94 kB / 2.348 GB, free: 266.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001596/4.118, allocations: 0.6311 MB / 2.349 GB, free: 266.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/4.12, allocations: 0.8652 MB / 2.35 GB, free: 265.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/4.12, allocations: 3.562 kB / 2.35 GB, free: 265.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-05/4.12, allocations: 3.969 kB / 2.35 GB, free: 265.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/4.12, allocations: 31.19 kB / 2.35 GB, free: 265.7 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.007299/4.127, allocations: 4.603 MB / 2.354 GB, free: 262.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/4.128, allocations: 461.6 kB / 2.355 GB, free: 262.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/4.128, allocations: 245.3 kB / 2.355 GB, free: 262.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002295/4.131, allocations: 1.687 MB / 2.356 GB, free: 260.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/4.131, allocations: 366 kB / 2.357 GB, free: 260.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005095/4.131, allocations: 65.92 kB / 2.357 GB, free: 260.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.505e-06/4.132, allocations: 5.406 kB / 2.357 GB, free: 260.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.001785/4.133, allocations: 0.7212 MB / 2.358 GB, free: 260.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/4.133, allocations: 114.6 kB / 2.358 GB, free: 260.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/4.135, allocations: 0.9633 MB / 2.359 GB, free: 259.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.683e-05/4.135, allocations: 29.42 kB / 2.359 GB, free: 259.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/4.135, allocations: 0.6572 MB / 2.359 GB, free: 259.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/4.136, allocations: 156 kB / 2.359 GB, free: 259.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/4.136, allocations: 0 / 2.359 GB, free: 259.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.936e-05/4.136, allocations: 331.4 kB / 2.36 GB, free: 258.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/4.136, allocations: 216.8 kB / 2.36 GB, free: 258.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/4.136, allocations: 482.4 kB / 2.36 GB, free: 258.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009291/4.137, allocations: 348.4 kB / 2.361 GB, free: 258.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/4.137, allocations: 6.062 kB / 2.361 GB, free: 258.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001777/4.139, allocations: 0.9029 MB / 2.362 GB, free: 257.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006136/4.14, allocations: 2.777 MB / 2.364 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/4.14, allocations: 10.69 kB / 2.364 GB, free: 255.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/4.14, allocations: 79.69 kB / 2.364 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/4.141, allocations: 162.2 kB / 2.365 GB, free: 255 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000545/4.141, allocations: 1.133 MB / 2.366 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/4.142, allocations: 88.12 kB / 2.366 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/4.142, allocations: 42.7 kB / 2.366 GB, free: 253.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/4.142, allocations: 3.688 kB / 2.366 GB, free: 253.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001497/4.144, allocations: 0.7325 MB / 2.367 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/4.144, allocations: 7.812 kB / 2.367 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001695/4.144, allocations: 74.77 kB / 2.367 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005538/4.145, allocations: 156.6 kB / 2.367 GB, free: 253.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000524/4.145, allocations: 1.142 MB / 2.368 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/4.146, allocations: 79.88 kB / 2.368 GB, free: 252.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/4.146, allocations: 42.27 kB / 2.368 GB, free: 252.6 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002296/4.146, allocations: 166.6 kB / 2.368 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/4.147, allocations: 129.6 kB / 2.368 GB, free: 252.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/4.148, allocations: 0.8673 MB / 2.369 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/4.148, allocations: 6.25 kB / 2.369 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/4.148, allocations: 0 / 2.369 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/4.149, allocations: 3.797 kB / 2.369 GB, free: 252.1 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.003295/4.152, allocations: 1.883 MB / 2.371 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/4.152, allocations: 3.844 kB / 2.371 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/4.152, allocations: 110.8 kB / 2.371 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/4.153, allocations: 71.06 kB / 2.371 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/4.153, allocations: 16.41 kB / 2.371 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005466/4.153, allocations: 1.133 MB / 2.372 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/4.153, allocations: 11.73 kB / 2.372 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/4.155, allocations: 1.025 MB / 2.373 GB, free: 249.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/4.155, allocations: 296.3 kB / 2.374 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/4.155, allocations: 3.906 kB / 2.374 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/4.156, allocations: 88.62 kB / 2.374 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/4.156, allocations: 34.39 kB / 2.374 GB, free: 249.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/4.156, allocations: 40.31 kB / 2.374 GB, free: 249.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001064/4.157, allocations: 0.7353 MB / 2.374 GB, free: 248.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.157, allocations: 0 / 2.374 GB, free: 248.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002886/4.16, allocations: 0.7621 MB / 2.375 GB, free: 248.6 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002131/4.163, allocations: 0.977 MB / 2.376 GB, free: 248.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001852/4.164, allocations: 1.094 MB / 2.377 GB, free: 247.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/4.164, allocations: 3.219 kB / 2.377 GB, free: 247.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006132/4.165, allocations: 378 kB / 2.378 GB, free: 247.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/4.168, allocations: 0.5284 MB / 2.378 GB, free: 247.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/4.173, allocations: 1.612 MB / 2.38 GB, free: 246.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/4.174, allocations: 1.245 MB / 2.381 GB, free: 246.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002518/4.176, allocations: 399.9 kB / 2.381 GB, free: 246.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/4.177, allocations: 81.83 kB / 2.381 GB, free: 246.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.432e-06/4.177, allocations: 3.25 kB / 2.381 GB, free: 246.1 MB / 1.151 GB Notification: Performance of Templates: time 0.0414/4.218, allocations: 27.93 MB / 2.409 GB, free: 234 MB / 1.151 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