Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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.1-maint.9.1.x/package.mo", uses=false) 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) 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: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.78 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.001153/0.001153, allocations: 177.3 kB / 15.95 MB, free: 216 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.432/1.432, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.656/2.656, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6898, allocations: 142.3 MB / 0.9536 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.145/0.8349, allocations: 114.4 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009299/0.8442, allocations: 6.915 MB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.8443, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.8445, allocations: 27.88 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-05/0.8446, allocations: 11.97 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.8479, allocations: 1.11 MB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.8481, allocations: 59.84 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.8481, allocations: 4 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.8483, allocations: 39.91 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.8484, allocations: 35.83 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.8484, allocations: 0 / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004403/0.8528, allocations: 2.556 MB / 1.076 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.8528, allocations: 11.98 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.8529, allocations: 33.7 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.8542, allocations: 0.9105 MB / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8542, allocations: 0 / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.835e-06/0.8542, allocations: 4 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.8542, allocations: 7.938 kB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001145/0.8554, allocations: 490.9 kB / 1.077 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.8554, allocations: 12.03 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.8555, allocations: 38.55 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003436/0.8558, allocations: 19.98 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.856, allocations: 163 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.8561, allocations: 37.69 kB / 1.078 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.8561, allocations: 11.95 kB / 1.078 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.8564, allocations: 121.5 kB / 1.078 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.8565, allocations: 0 / 1.078 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.8565, allocations: 0 / 1.078 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.8565, allocations: 4 kB / 1.078 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.8568, allocations: 117.2 kB / 1.078 GB, free: 0.5508 MB / 0.8262 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.0005194/0.8573, allocations: 384 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.8576, allocations: 126.5 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.8698, allocations: 4.25 MB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.8698, allocations: 38.5 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 2.355e-06/0.8698, allocations: 0 / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005594/0.8704, allocations: 158.2 kB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.8705, allocations: 59.39 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.8706, allocations: 97.84 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.8706, allocations: 33.7 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.8706, allocations: 84.08 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.8707, allocations: 51.42 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.8707, allocations: 4 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8709, allocations: 318.8 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.8709, allocations: 19.98 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.184e-05/0.8709, allocations: 28.98 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.726e-05/0.871, allocations: 29.88 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.871, allocations: 7.953 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001781/0.8712, allocations: 109.6 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8712, allocations: 4 kB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8712, allocations: 0 / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.8713, allocations: 0 / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.8714, allocations: 23.92 kB / 1.083 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.8714, allocations: 8 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.8715, allocations: 4 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.8715, allocations: 4 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001555/0.8716, allocations: 117.8 kB / 1.084 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.8717, allocations: 11.86 kB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.8722, allocations: 375.9 kB / 1.084 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.8722, allocations: 4 kB / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8722, allocations: 0 / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.8722, allocations: 11.98 kB / 1.084 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.8725, allocations: 281.3 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8725, allocations: 3.953 kB / 1.084 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-05/0.8726, allocations: 19.98 kB / 1.084 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8726, allocations: 0 / 1.084 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.8727, allocations: 8 kB / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8727, allocations: 0 / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.8727, allocations: 0 / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.873, allocations: 330.8 kB / 1.085 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/0.8731, allocations: 112.8 kB / 1.085 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.8731, allocations: 0 / 1.085 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.8733, allocations: 11.98 kB / 1.085 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.8733, allocations: 7.984 kB / 1.085 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.8733, allocations: 4 kB / 1.085 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.8734, allocations: 87.27 kB / 1.085 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8734, allocations: 0 / 1.085 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001085/0.8745, allocations: 299.9 kB / 1.085 GB, free: 8.535 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001848/0.8763, allocations: 1.142 MB / 1.086 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.8766, allocations: 123.9 kB / 1.086 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.8766, allocations: 4 kB / 1.086 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.8767, allocations: 110.2 kB / 1.086 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.8769, allocations: 15.98 kB / 1.086 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008907/0.8778, allocations: 0.496 MB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.8782, allocations: 0.7208 MB / 1.088 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.8783, allocations: 32.33 kB / 1.088 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.8783, allocations: 39.42 kB / 1.088 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.8783, allocations: 4 kB / 1.088 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06474/0.9431, allocations: 11.61 MB / 1.099 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002681/0.9434, allocations: 186.5 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/3.031, allocations: 8 kB / 1.099 GB, free: 10.03 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat does not exist to compare? outputFormat=mat