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.334/2.334, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001069/0.001069, allocations: 180.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.508/1.508, 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.0009945/0.0009945, allocations: 95.84 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.973e-05, allocations: 6.188 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2896, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.455/1.745, allocations: 440.7 MB / 1.636 GB, free: 13.62 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/1.745, allocations: 92.81 kB / 1.637 GB, free: 13.57 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.982/4.728, allocations: 0.7009 GB / 2.337 GB, free: 268.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.373e-06/4.728, allocations: 3 kB / 2.337 GB, free: 268.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001777/4.728, allocations: 43.58 kB / 2.337 GB, free: 268.7 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.004015/4.732, allocations: 1.713 MB / 2.339 GB, free: 267.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/4.732, allocations: 13.69 kB / 2.339 GB, free: 267.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/4.735, allocations: 437 kB / 2.34 GB, free: 267.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01912/4.754, allocations: 8.702 MB / 2.348 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/4.754, allocations: 34.64 kB / 2.348 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/4.754, allocations: 49.94 kB / 2.348 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00121/4.755, allocations: 0.6355 MB / 2.349 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/4.757, allocations: 0.861 MB / 2.35 GB, free: 265.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/4.757, allocations: 0 / 2.35 GB, free: 265.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/4.757, allocations: 7.984 kB / 2.35 GB, free: 265.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/4.757, allocations: 32.59 kB / 2.35 GB, free: 265.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 preOpt removeSimpleEquations (simulation): time 0.0058/4.762, allocations: 4.609 MB / 2.354 GB, free: 261.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/4.763, allocations: 465.7 kB / 2.355 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/4.763, allocations: 241 kB / 2.355 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002018/4.766, allocations: 1.675 MB / 2.356 GB, free: 260.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004462/4.766, allocations: 372.7 kB / 2.357 GB, free: 260.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003418/4.766, allocations: 65.19 kB / 2.357 GB, free: 260 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.855e-06/4.766, allocations: 3.75 kB / 2.357 GB, free: 260 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.001742/4.768, allocations: 0.7284 MB / 2.358 GB, free: 259.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/4.768, allocations: 113.3 kB / 2.358 GB, free: 259.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/4.769, allocations: 0.9643 MB / 2.359 GB, free: 259.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/4.769, allocations: 29.64 kB / 2.359 GB, free: 259.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/4.77, allocations: 0.6588 MB / 2.359 GB, free: 258.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/4.77, allocations: 151.3 kB / 2.359 GB, free: 258.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/4.77, allocations: 3.156 kB / 2.359 GB, free: 258.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/4.77, allocations: 332.8 kB / 2.36 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/4.77, allocations: 212.6 kB / 2.36 GB, free: 258.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/4.771, allocations: 488.1 kB / 2.36 GB, free: 257.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009098/4.772, allocations: 348.1 kB / 2.361 GB, free: 257.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/4.772, allocations: 6.844 kB / 2.361 GB, free: 257.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001652/4.773, allocations: 0.9009 MB / 2.362 GB, free: 257.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006033/4.774, allocations: 2.775 MB / 2.364 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/4.774, allocations: 7.875 kB / 2.364 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/4.774, allocations: 79.53 kB / 2.364 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/4.775, allocations: 166.4 kB / 2.365 GB, free: 254.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005656/4.776, allocations: 1.133 MB / 2.366 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/4.777, allocations: 80.05 kB / 2.366 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/4.777, allocations: 43.73 kB / 2.366 GB, free: 253.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/4.777, allocations: 2.031 kB / 2.366 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/4.778, allocations: 0.7305 MB / 2.367 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/4.778, allocations: 7.688 kB / 2.367 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/4.778, allocations: 83.56 kB / 2.367 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/4.779, allocations: 157 kB / 2.367 GB, free: 253.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005338/4.78, allocations: 1.143 MB / 2.368 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008903/4.78, allocations: 77.19 kB / 2.368 GB, free: 252 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/4.781, allocations: 41.41 kB / 2.368 GB, free: 252 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.0002566/4.781, allocations: 167.4 kB / 2.368 GB, free: 251.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001436/4.782, allocations: 0.7348 MB / 2.369 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/4.782, allocations: 125.6 kB / 2.369 GB, free: 251.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/4.784, allocations: 0.8591 MB / 2.37 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/4.784, allocations: 7.75 kB / 2.37 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/4.784, allocations: 0 / 2.37 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/4.784, allocations: 7.422 kB / 2.37 GB, free: 251.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.002985/4.787, allocations: 1.882 MB / 2.372 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/4.787, allocations: 6.688 kB / 2.372 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/4.788, allocations: 113.6 kB / 2.372 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/4.788, allocations: 65.78 kB / 2.372 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/4.788, allocations: 17.42 kB / 2.372 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005736/4.789, allocations: 1.133 MB / 2.373 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/4.789, allocations: 2.281 kB / 2.373 GB, free: 249.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/4.79, allocations: 1.035 MB / 2.374 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004936/4.791, allocations: 292 kB / 2.374 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/4.791, allocations: 7.5 kB / 2.374 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007972/4.792, allocations: 83.34 kB / 2.374 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/4.792, allocations: 43.81 kB / 2.374 GB, free: 248.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/4.792, allocations: 32.48 kB / 2.374 GB, free: 248.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009873/4.793, allocations: 0.7479 MB / 2.375 GB, free: 247.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.793, allocations: 0 / 2.375 GB, free: 247.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002502/4.795, allocations: 0.7463 MB / 2.376 GB, free: 247.7 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.003362/4.799, allocations: 2.765 MB / 2.379 GB, free: 246.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001669/4.8, allocations: 1.102 MB / 2.38 GB, free: 245.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/4.8, allocations: 0 / 2.38 GB, free: 245.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004991/4.801, allocations: 374.3 kB / 2.38 GB, free: 245.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/4.803, allocations: 0.5341 MB / 2.381 GB, free: 245.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/4.807, allocations: 1.959 MB / 2.382 GB, free: 244.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/4.808, allocations: 1.23 MB / 2.384 GB, free: 243.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001826/4.81, allocations: 404.6 kB / 2.384 GB, free: 243.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/4.81, allocations: 0.504 MB / 2.385 GB, free: 243.3 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/4.81, allocations: 0 / 2.385 GB, free: 243.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07707/4.888, allocations: 40.02 MB / 2.424 GB, free: 219.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/4.888, allocations: 216.5 kB / 2.424 GB, free: 219.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/8.41, allocations: 0 / 2.424 GB, free: 219.2 MB / 1.151 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