Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_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.0008734/0.0008735, allocations: 84.38 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.0009937/0.0009935, 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.439/1.439, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.619/2.619, allocations: 409.4 MB / 0.684 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7585, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1421/0.9006, allocations: 122.7 MB / 1.101 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008752/0.9094, allocations: 7.482 MB / 1.108 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.9095, allocations: 0 / 1.108 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.9097, allocations: 15.91 kB / 1.108 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.9098, allocations: 23.83 kB / 1.108 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003218/0.913, allocations: 1.115 MB / 1.109 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.9132, allocations: 63.7 kB / 1.109 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.9132, allocations: 4 kB / 1.109 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.9133, allocations: 43.84 kB / 1.109 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.9134, allocations: 35.84 kB / 1.11 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.9135, allocations: 4 kB / 1.11 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004113/0.9176, allocations: 2.517 MB / 1.112 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 3.34e-05/0.9176, allocations: 19.91 kB / 1.112 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.9177, allocations: 33.7 kB / 1.112 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.919, allocations: 0.9027 MB / 1.113 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.919, allocations: 0 / 1.113 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.637e-06/0.919, allocations: 4 kB / 1.113 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.919, allocations: 3.938 kB / 1.113 GB, free: 14.91 MB / 0.8731 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.0009844/0.92, allocations: 487 kB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.9201, allocations: 15.97 kB / 1.113 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.9201, allocations: 42.55 kB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003448/0.9205, allocations: 19.98 kB / 1.113 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.9206, allocations: 178.8 kB / 1.114 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.999e-05/0.9207, allocations: 29.7 kB / 1.114 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.9207, allocations: 8 kB / 1.114 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.9211, allocations: 113.6 kB / 1.114 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.9211, allocations: 3.984 kB / 1.114 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.9211, allocations: 7.938 kB / 1.114 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.9212, allocations: 8 kB / 1.114 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.9215, allocations: 111.9 kB / 1.114 GB, free: 13.8 MB / 0.8731 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.0005026/0.922, allocations: 376.1 kB / 1.114 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.9222, allocations: 126.5 kB / 1.114 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.693e-05/0.9223, allocations: 52.78 kB / 1.114 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01042/0.9327, allocations: 4.258 MB / 1.119 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.9328, allocations: 38.56 kB / 1.119 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.9328, allocations: 0 / 1.119 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0005628/0.9334, allocations: 153.6 kB / 1.119 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.9335, allocations: 59.39 kB / 1.119 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.9336, allocations: 97.86 kB / 1.119 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.9336, allocations: 25.7 kB / 1.119 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.9337, allocations: 88.05 kB / 1.119 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.9337, allocations: 43.53 kB / 1.119 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.9338, allocations: 4 kB / 1.119 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.9339, allocations: 322.8 kB / 1.119 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.187e-05/0.934, allocations: 35.92 kB / 1.119 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.706e-05/0.934, allocations: 26.73 kB / 1.119 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.9341, allocations: 28 kB / 1.119 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9341, allocations: 0 / 1.119 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001656/0.9343, allocations: 105.6 kB / 1.12 GB, free: 7.543 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.9343, allocations: 4 kB / 1.12 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9343, allocations: 0 / 1.12 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.9343, allocations: 4 kB / 1.12 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.9345, allocations: 27.92 kB / 1.12 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.9345, allocations: 0 / 1.12 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.9345, allocations: 0 / 1.12 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.9345, allocations: 8 kB / 1.12 GB, free: 7.5 MB / 0.8731 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.224e-05/0.9346, allocations: 117.8 kB / 1.12 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.9347, allocations: 7.906 kB / 1.12 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.9351, allocations: 369.1 kB / 1.12 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.9352, allocations: 15.92 kB / 1.12 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9352, allocations: 3.938 kB / 1.12 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.9352, allocations: 0 / 1.12 GB, free: 6.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.9355, allocations: 285.2 kB / 1.12 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9355, allocations: 0 / 1.12 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.9356, allocations: 19.98 kB / 1.12 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.9356, allocations: 4 kB / 1.12 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.9356, allocations: 11.98 kB / 1.12 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.9356, allocations: 0 / 1.12 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9356, allocations: 0 / 1.12 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.936, allocations: 331 kB / 1.121 GB, free: 6.277 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.936, allocations: 100.9 kB / 1.121 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.9361, allocations: 7.969 kB / 1.121 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.9362, allocations: 15.91 kB / 1.121 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.9362, allocations: 11.98 kB / 1.121 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.9363, allocations: 8 kB / 1.121 GB, free: 6.117 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.9363, allocations: 79.27 kB / 1.121 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.9363, allocations: 0 / 1.121 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00105/0.9374, allocations: 299.9 kB / 1.121 GB, free: 5.746 MB / 0.8731 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.001737/0.9391, allocations: 1.145 MB / 1.122 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.9393, allocations: 120 kB / 1.122 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9393, allocations: 3.938 kB / 1.122 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.9395, allocations: 114.2 kB / 1.123 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.9398, allocations: 15.98 kB / 1.123 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.9407, allocations: 0.4916 MB / 1.123 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.941, allocations: 0.7207 MB / 1.124 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.9411, allocations: 32.33 kB / 1.124 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.597e-05/0.9412, allocations: 39.42 kB / 1.124 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/0.9412, allocations: 0 / 1.124 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.9681, allocations: 11.64 MB / 1.135 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.9683, allocations: 200.2 kB / 1.135 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/3.06, allocations: 3.938 kB / 1.135 GB, free: 7.238 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat does not exist to compare? outputFormat=mat