Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.189/2.189, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001081/0.001081, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009258/0.0009258, allocations: 88 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.717e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2576, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.862/1.12, allocations: 155.7 MB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.12, allocations: 91.06 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03251/1.153, allocations: 10.44 MB / 1.381 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.153, allocations: 0 / 1.381 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.955e-05/1.153, allocations: 4 kB / 1.381 GB, free: 5.355 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000728/1.153, allocations: 0.5754 MB / 1.382 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.153, allocations: 12.03 kB / 1.382 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/1.154, allocations: 37.86 kB / 1.382 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.348e-05/1.154, allocations: 47.39 kB / 1.382 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/1.154, allocations: 344.1 kB / 1.382 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/1.154, allocations: 7.938 kB / 1.382 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/1.154, allocations: 4 kB / 1.382 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/1.154, allocations: 84.34 kB / 1.382 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.154, allocations: 7.875 kB / 1.382 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/1.154, allocations: 3.875 kB / 1.382 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/1.154, allocations: 3.938 kB / 1.382 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.22e-05/1.155, allocations: 34.55 kB / 1.382 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/1.155, allocations: 468.7 kB / 1.383 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/1.155, allocations: 63.25 kB / 1.383 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/1.155, allocations: 27.34 kB / 1.383 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/1.155, allocations: 3.625 kB / 1.383 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/1.156, allocations: 82.28 kB / 1.383 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/1.156, allocations: 0 / 1.383 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002397/1.156, allocations: 127.2 kB / 1.383 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.156, allocations: 51.41 kB / 1.383 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/1.156, allocations: 476.8 kB / 1.384 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/1.156, allocations: 28.7 kB / 1.384 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/1.157, allocations: 221.5 kB / 1.384 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/1.157, allocations: 13.94 kB / 1.384 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/1.157, allocations: 3.812 kB / 1.384 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.157, allocations: 361.8 kB / 1.384 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/1.157, allocations: 52.67 kB / 1.384 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/1.157, allocations: 77.81 kB / 1.384 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/1.157, allocations: 55.84 kB / 1.384 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.157, allocations: 0 / 1.384 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005218/1.158, allocations: 214 kB / 1.384 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.158, allocations: 13.42 kB / 1.385 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.158, allocations: 4 kB / 1.385 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.158, allocations: 0 / 1.385 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/1.158, allocations: 31.8 kB / 1.385 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.158, allocations: 0 / 1.385 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/1.159, allocations: 12.09 kB / 1.385 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/1.159, allocations: 14.88 kB / 1.385 GB, free: 2.133 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001186/1.159, allocations: 113.7 kB / 1.385 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.864e-05/1.159, allocations: 47.44 kB / 1.385 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/1.159, allocations: 137.7 kB / 1.385 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.159, allocations: 0 / 1.385 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.159, allocations: 0 / 1.385 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.159, allocations: 0 / 1.385 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/1.16, allocations: 308.4 kB / 1.385 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.16, allocations: 0 / 1.385 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/1.16, allocations: 4 kB / 1.385 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/1.16, allocations: 0 / 1.385 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/1.16, allocations: 0 / 1.385 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/1.16, allocations: 8.016 kB / 1.385 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/1.16, allocations: 8 kB / 1.385 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/1.16, allocations: 159.5 kB / 1.385 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/1.16, allocations: 126.8 kB / 1.385 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/1.16, allocations: 4 kB / 1.385 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/1.16, allocations: 11.11 kB / 1.385 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/1.161, allocations: 15.94 kB / 1.385 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/1.161, allocations: 4 kB / 1.385 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005583/1.161, allocations: 365 kB / 1.386 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.31e-07/1.161, allocations: 0 / 1.386 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000479/1.162, allocations: 59.5 kB / 1.386 GB, free: 0.875 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001569/1.163, allocations: 0.9984 MB / 1.387 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002243/1.163, allocations: 93 kB / 1.387 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.164, allocations: 0 / 1.387 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.04e-05/1.164, allocations: 25.56 kB / 1.387 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/1.164, allocations: 60.12 kB / 1.387 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/1.165, allocations: 0.5505 MB / 1.388 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/1.166, allocations: 0.8263 MB / 1.388 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001409/1.166, allocations: 25.69 kB / 1.388 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/1.166, allocations: 118.4 kB / 1.388 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/1.166, allocations: 0 / 1.388 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/1.193, allocations: 7.601 MB / 1.396 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.193, allocations: 208.2 kB / 1.396 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/3.232, allocations: 5.562 kB / 1.396 GB, free: 6.812 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat does not exist to compare? outputFormat=mat