Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.233/2.233, allocations: 390.5 MB / 398 MB, free: 10.93 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.001061/0.001061, allocations: 168.9 kB / 491.2 MB, free: 1.566 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.519/1.519, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.000879/0.0008791, allocations: 91.7 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2356, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.312, allocations: 457.2 MB / 1.659 GB, free: 6.477 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.312, allocations: 69 kB / 1.659 GB, free: 6.441 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.08838/1.4, allocations: 36.19 MB / 1.694 GB, free: 7.465 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.433e-06/1.4, allocations: 0 / 1.694 GB, free: 7.465 MB / 1.104 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.401, allocations: 0 / 1.694 GB, free: 7.465 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000437/1.401, allocations: 366.2 kB / 1.695 GB, free: 7.066 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.401, allocations: 8.031 kB / 1.695 GB, free: 7.059 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/1.401, allocations: 20.17 kB / 1.695 GB, free: 7.039 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.523e-05/1.401, allocations: 159.1 kB / 1.695 GB, free: 6.844 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.401, allocations: 7.984 kB / 1.695 GB, free: 6.836 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/1.401, allocations: 3.984 kB / 1.695 GB, free: 6.832 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.555e-05/1.401, allocations: 15.62 kB / 1.695 GB, free: 6.82 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.379e-05/1.401, allocations: 52.42 kB / 1.695 GB, free: 6.766 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/1.402, allocations: 0 / 1.695 GB, free: 6.766 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.402, allocations: 3.953 kB / 1.695 GB, free: 6.762 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/1.402, allocations: 0 / 1.695 GB, free: 6.762 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/1.402, allocations: 142 kB / 1.695 GB, free: 6.59 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/1.402, allocations: 44.81 kB / 1.695 GB, free: 6.543 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/1.402, allocations: 11.73 kB / 1.695 GB, free: 6.531 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009807/1.412, allocations: 3.154 MB / 1.698 GB, free: 3.328 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.412, allocations: 34.55 kB / 1.698 GB, free: 3.285 MB / 1.104 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/1.412, allocations: 3.938 kB / 1.698 GB, free: 3.281 MB / 1.104 GB Notification: Performance of matching and sorting (n=11): time 0.03118/1.443, allocations: 13.39 MB / 1.711 GB, free: 5.836 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/1.443, allocations: 59.34 kB / 1.711 GB, free: 5.766 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.595e-05/1.443, allocations: 89 kB / 1.711 GB, free: 5.672 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/1.443, allocations: 25.7 kB / 1.711 GB, free: 5.641 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/1.443, allocations: 80.14 kB / 1.711 GB, free: 5.559 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/1.443, allocations: 38.02 kB / 1.712 GB, free: 5.527 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/1.443, allocations: 0 / 1.712 GB, free: 5.527 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/1.443, allocations: 318.8 kB / 1.712 GB, free: 5.207 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/1.443, allocations: 18.25 kB / 1.712 GB, free: 5.195 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/1.443, allocations: 14.88 kB / 1.712 GB, free: 5.188 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.753e-05/1.443, allocations: 30.3 kB / 1.712 GB, free: 5.164 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.443, allocations: 0 / 1.712 GB, free: 5.164 MB / 1.12 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001901/1.444, allocations: 92.95 kB / 1.712 GB, free: 5.078 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.444, allocations: 4 kB / 1.712 GB, free: 5.074 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.444, allocations: 0 / 1.712 GB, free: 5.074 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.444, allocations: 4 kB / 1.712 GB, free: 5.07 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/1.444, allocations: 27.92 kB / 1.712 GB, free: 5.043 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/1.444, allocations: 3.953 kB / 1.712 GB, free: 5.039 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/1.444, allocations: 0 / 1.712 GB, free: 5.039 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/1.444, allocations: 6.688 kB / 1.712 GB, free: 5.035 MB / 1.12 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.499e-05/1.444, allocations: 105 kB / 1.712 GB, free: 4.926 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000179/1.444, allocations: 90.91 kB / 1.712 GB, free: 4.84 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/1.444, allocations: 11.89 kB / 1.712 GB, free: 4.828 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/1.444, allocations: 108 kB / 1.712 GB, free: 4.73 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/1.444, allocations: 3.953 kB / 1.712 GB, free: 4.727 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.444, allocations: 3.984 kB / 1.712 GB, free: 4.723 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/1.444, allocations: 0 / 1.712 GB, free: 4.723 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/1.445, allocations: 148.4 kB / 1.712 GB, free: 4.547 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.445, allocations: 0 / 1.712 GB, free: 4.547 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/1.445, allocations: 27.97 kB / 1.713 GB, free: 4.52 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/1.445, allocations: 0 / 1.713 GB, free: 4.52 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/1.445, allocations: 0 / 1.713 GB, free: 4.52 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.445, allocations: 4 kB / 1.713 GB, free: 4.516 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.445, allocations: 7.938 kB / 1.713 GB, free: 4.508 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/1.445, allocations: 138.1 kB / 1.713 GB, free: 4.375 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/1.445, allocations: 91.27 kB / 1.713 GB, free: 4.273 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/1.445, allocations: 3.984 kB / 1.713 GB, free: 4.27 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/1.445, allocations: 8 kB / 1.713 GB, free: 4.262 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/1.445, allocations: 11.98 kB / 1.713 GB, free: 4.25 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/1.445, allocations: 4 kB / 1.713 GB, free: 4.246 MB / 1.12 GB Notification: Performance of sorting global known variables: time 3.385e-05/1.445, allocations: 90.47 kB / 1.713 GB, free: 4.16 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.61e-07/1.445, allocations: 3.938 kB / 1.713 GB, free: 4.156 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.001755/1.447, allocations: 0.59 MB / 1.713 GB, free: 3.586 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.003589/1.451, allocations: 1.409 MB / 1.715 GB, free: 2.195 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.000128/1.451, allocations: 62.55 kB / 1.715 GB, free: 2.145 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.451, allocations: 0 / 1.715 GB, free: 2.145 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/1.451, allocations: 26.94 kB / 1.715 GB, free: 2.125 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/1.451, allocations: 4 kB / 1.715 GB, free: 2.121 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/1.452, allocations: 407.3 kB / 1.715 GB, free: 1.691 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/1.452, allocations: 0.6924 MB / 1.716 GB, free: 0.9727 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 9.216e-05/1.452, allocations: 24.55 kB / 1.716 GB, free: 0.9492 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/1.452, allocations: 22.73 kB / 1.716 GB, free: 0.9297 MB / 1.12 GB Notification: Performance of SimCode: time 2.51e-07/1.452, allocations: 0 / 1.716 GB, free: 0.9297 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05326/1.506, allocations: 25.4 MB / 1.741 GB, free: 7.516 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/1.506, allocations: 136.4 kB / 1.741 GB, free: 7.328 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/3.666, allocations: 0 / 1.741 GB, free: 7.328 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat does not exist to compare? outputFormat=mat