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.0007964/0.0007965, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0007938/0.000794, allocations: 168.7 kB / 15.95 MB, free: 204 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.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.43 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.595/2.595, allocations: 390.4 MB / 0.6655 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 8 kB / 0.8149 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8398/0.8402, allocations: 142.3 MB / 0.9538 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1667/1.007, allocations: 122.7 MB / 1.074 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.008567/1.016, allocations: 7.474 MB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/1.016, allocations: 0 / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/1.016, allocations: 23.89 kB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/1.016, allocations: 15.91 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003437/1.019, allocations: 1.12 MB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/1.02, allocations: 71.64 kB / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/1.02, allocations: 0 / 1.082 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/1.02, allocations: 51.83 kB / 1.082 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/1.02, allocations: 31.91 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/1.02, allocations: 4 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004642/1.024, allocations: 2.513 MB / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/1.025, allocations: 15.92 kB / 1.085 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/1.025, allocations: 41.69 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/1.026, allocations: 0.9027 MB / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.026, allocations: 0 / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.824e-06/1.026, allocations: 0 / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.358e-06/1.026, allocations: 0 / 1.086 GB, free: 8.82 MB / 0.8419 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.0009577/1.027, allocations: 494.9 kB / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.027, allocations: 8.031 kB / 1.086 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/1.027, allocations: 42.55 kB / 1.086 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003398/1.027, allocations: 19.98 kB / 1.086 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/1.028, allocations: 171 kB / 1.086 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/1.028, allocations: 33.69 kB / 1.086 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/1.028, allocations: 11.95 kB / 1.086 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/1.028, allocations: 117.6 kB / 1.087 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.028, allocations: 0 / 1.087 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/1.028, allocations: 4 kB / 1.087 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.028, allocations: 3.938 kB / 1.087 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000275/1.028, allocations: 115.8 kB / 1.087 GB, free: 7.711 MB / 0.8419 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.0004872/1.029, allocations: 388 kB / 1.087 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/1.029, allocations: 138.6 kB / 1.087 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/1.029, allocations: 48.84 kB / 1.087 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01052/1.04, allocations: 4.25 MB / 1.091 GB, free: 2.508 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/1.04, allocations: 38.5 kB / 1.091 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/1.04, allocations: 0 / 1.091 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0006188/1.04, allocations: 161.5 kB / 1.092 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.04, allocations: 51.41 kB / 1.092 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/1.041, allocations: 105.8 kB / 1.092 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/1.041, allocations: 25.7 kB / 1.092 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.204e-05/1.041, allocations: 84.14 kB / 1.092 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/1.041, allocations: 47.44 kB / 1.092 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.041, allocations: 4 kB / 1.092 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.041, allocations: 318.8 kB / 1.092 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/1.041, allocations: 20 kB / 1.092 GB, free: 1.613 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.574e-05/1.041, allocations: 28.98 kB / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/1.041, allocations: 42.12 kB / 1.092 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.041, allocations: 4 kB / 1.092 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001761/1.041, allocations: 105.6 kB / 1.092 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.041, allocations: 4 kB / 1.092 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/1.041, allocations: 0 / 1.092 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.041, allocations: 0 / 1.092 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/1.041, allocations: 23.98 kB / 1.092 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.041, allocations: 4 kB / 1.092 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/1.041, allocations: 0 / 1.092 GB, free: 1.402 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/1.041, allocations: 8 kB / 1.092 GB, free: 1.395 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 9.329e-05/1.042, allocations: 117.7 kB / 1.092 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/1.042, allocations: 15.84 kB / 1.092 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/1.042, allocations: 364.1 kB / 1.093 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.042, allocations: 3.984 kB / 1.093 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.042, allocations: 0 / 1.093 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.042, allocations: 0 / 1.093 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003212/1.043, allocations: 297.2 kB / 1.093 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.043, allocations: 0 / 1.093 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/1.043, allocations: 23.92 kB / 1.093 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.043, allocations: 0 / 1.093 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.043, allocations: 11.94 kB / 1.093 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.043, allocations: 0 / 1.093 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.043, allocations: 0 / 1.093 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/1.043, allocations: 330.9 kB / 1.093 GB, free: 172 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.951e-05/1.043, allocations: 100.9 kB / 1.094 GB, free: 52 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/1.043, allocations: 4 kB / 1.094 GB, free: 48 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/1.043, allocations: 11.98 kB / 1.094 GB, free: 36 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/1.043, allocations: 11.92 kB / 1.094 GB, free: 24 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/1.043, allocations: 4 kB / 1.094 GB, free: 20 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.481e-05/1.043, allocations: 87.27 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.043, allocations: 0 / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001065/1.044, allocations: 299.9 kB / 1.094 GB, free: 15.64 MB / 0.8575 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.001816/1.046, allocations: 1.158 MB / 1.095 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002169/1.047, allocations: 127.9 kB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.047, allocations: 4 kB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/1.047, allocations: 107.9 kB / 1.095 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/1.047, allocations: 22.05 kB / 1.095 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/1.048, allocations: 498.5 kB / 1.096 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/1.048, allocations: 0.7207 MB / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001207/1.048, allocations: 36.27 kB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/1.049, allocations: 39.42 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/1.049, allocations: 0 / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/1.108, allocations: 11.63 MB / 1.108 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01777/1.125, allocations: 199.6 kB / 1.108 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/3.144, allocations: 4 kB / 1.108 GB, free: 1.102 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