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: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.368/2.368, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001196/0.001196, allocations: 169.2 kB / 498.1 MB, free: 5.723 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.964/1.964, allocations: 223.2 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009481/0.0009481, allocations: 101.7 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004351, allocations: 8.75 kB / 1.084 GB, free: 221.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3065, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.51, allocations: 441.5 MB / 1.654 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.511, allocations: 101.1 kB / 1.654 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.934/4.445, allocations: 0.7065 GB / 2.361 GB, free: 256.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.264e-06/4.445, allocations: 0 / 2.361 GB, free: 256.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002686/4.446, allocations: 41.31 kB / 2.361 GB, free: 256.4 MB / 1.167 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.006452/4.452, allocations: 2.138 MB / 2.363 GB, free: 255.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/4.452, allocations: 11.19 kB / 2.363 GB, free: 255.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004349/4.452, allocations: 129.1 kB / 2.363 GB, free: 255.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/4.455, allocations: 436.6 kB / 2.363 GB, free: 255.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01981/4.475, allocations: 8.81 MB / 2.372 GB, free: 255.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/4.475, allocations: 69 kB / 2.372 GB, free: 255.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/4.475, allocations: 89.78 kB / 2.372 GB, free: 255.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/4.477, allocations: 1.065 MB / 2.373 GB, free: 254.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/4.478, allocations: 3.188 kB / 2.373 GB, free: 254.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/4.478, allocations: 34.97 kB / 2.373 GB, free: 254.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/4.478, allocations: 33.12 kB / 2.373 GB, free: 254.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/4.48, allocations: 0.817 MB / 2.374 GB, free: 254.9 MB / 1.167 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.007324/4.487, allocations: 4.786 MB / 2.379 GB, free: 252.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/4.488, allocations: 0.5693 MB / 2.379 GB, free: 252.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003123/4.492, allocations: 1.7 MB / 2.381 GB, free: 251.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/4.493, allocations: 463.2 kB / 2.381 GB, free: 251.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008692/4.494, allocations: 80.62 kB / 2.381 GB, free: 251.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 6.001e-06/4.494, allocations: 0 / 2.381 GB, free: 251.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=47): time 0.003774/4.497, allocations: 1.388 MB / 2.383 GB, free: 251 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/4.498, allocations: 110.8 kB / 2.383 GB, free: 250.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/4.5, allocations: 1.105 MB / 2.384 GB, free: 250.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/4.5, allocations: 42.64 kB / 2.384 GB, free: 250.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008643/4.501, allocations: 0.6513 MB / 2.385 GB, free: 250.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/4.501, allocations: 155.4 kB / 2.385 GB, free: 250.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.298e-05/4.502, allocations: 13.97 kB / 2.385 GB, free: 250.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001252/4.502, allocations: 337.2 kB / 2.385 GB, free: 250.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008581/4.503, allocations: 287.7 kB / 2.385 GB, free: 250.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009553/4.504, allocations: 0.5681 MB / 2.386 GB, free: 249.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008287/4.504, allocations: 376.2 kB / 2.386 GB, free: 249.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/4.504, allocations: 0 / 2.386 GB, free: 249.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002313/4.507, allocations: 1.058 MB / 2.387 GB, free: 249.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006674/4.507, allocations: 2.791 MB / 2.39 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/4.507, allocations: 6.562 kB / 2.39 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/4.508, allocations: 89.97 kB / 2.39 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/4.509, allocations: 160 kB / 2.39 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005613/4.509, allocations: 1.133 MB / 2.391 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/4.51, allocations: 89.16 kB / 2.391 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/4.511, allocations: 42.02 kB / 2.391 GB, free: 245.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/4.511, allocations: 3.375 kB / 2.391 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001905/4.512, allocations: 0.9106 MB / 2.392 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/4.512, allocations: 14.3 kB / 2.392 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/4.513, allocations: 82.3 kB / 2.392 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/4.513, allocations: 160.2 kB / 2.393 GB, free: 245.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005698/4.514, allocations: 1.129 MB / 2.394 GB, free: 244.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/4.515, allocations: 102.6 kB / 2.394 GB, free: 244.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/4.515, allocations: 41.05 kB / 2.394 GB, free: 244.6 MB / 1.167 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 (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.001086/4.516, allocations: 497.5 kB / 2.394 GB, free: 244.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/4.517, allocations: 135.9 kB / 2.394 GB, free: 244.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/4.519, allocations: 1.051 MB / 2.395 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/4.519, allocations: 14.36 kB / 2.395 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/4.519, allocations: 3.5 kB / 2.395 GB, free: 244.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/4.519, allocations: 3.953 kB / 2.395 GB, free: 244.2 MB / 1.167 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.004334/4.523, allocations: 2.165 MB / 2.398 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/4.524, allocations: 1.531 kB / 2.398 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/4.524, allocations: 108.7 kB / 2.398 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/4.525, allocations: 77.08 kB / 2.398 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/4.525, allocations: 18.77 kB / 2.398 GB, free: 243.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005314/4.525, allocations: 1.123 MB / 2.399 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/4.525, allocations: 5.359 kB / 2.399 GB, free: 242.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/4.528, allocations: 1.226 MB / 2.4 GB, free: 242.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/4.528, allocations: 300.7 kB / 2.4 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/4.528, allocations: 16.22 kB / 2.4 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008584/4.529, allocations: 90.12 kB / 2.4 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/4.529, allocations: 46.39 kB / 2.401 GB, free: 242 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.534e-05/4.529, allocations: 29.66 kB / 2.401 GB, free: 242 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001286/4.531, allocations: 0.8775 MB / 2.401 GB, free: 241.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.531, allocations: 0 / 2.401 GB, free: 241.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002805/4.534, allocations: 0.7756 MB / 2.402 GB, free: 241.8 MB / 1.167 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 (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.004061/4.538, allocations: 2.982 MB / 2.405 GB, free: 240.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002761/4.54, allocations: 1.304 MB / 2.406 GB, free: 240.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/4.54, allocations: 0 / 2.406 GB, free: 240.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008463/4.541, allocations: 459.5 kB / 2.407 GB, free: 240.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002809/4.544, allocations: 0.607 MB / 2.407 GB, free: 240.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/4.551, allocations: 8.115 MB / 2.415 GB, free: 233.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/4.551, allocations: 1.231 MB / 2.417 GB, free: 233.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001495/4.553, allocations: 311.8 kB / 2.417 GB, free: 233.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/4.553, allocations: 0.5253 MB / 2.417 GB, free: 233.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/4.553, allocations: 0 / 2.417 GB, free: 233.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06836/4.622, allocations: 45.22 MB / 2.461 GB, free: 231.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/4.622, allocations: 287.8 kB / 2.462 GB, free: 231.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/8.152, allocations: 0 / 2.462 GB, free: 231.4 MB / 1.167 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat does not exist to compare? outputFormat=mat