Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001045/0.001045, allocations: 184.7 kB / 487.4 MB, free: 5.012 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.358/1.358, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009623, allocations: 95.83 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.056e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2633, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9821/1.246, allocations: 154.2 MB / 1.357 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.246, allocations: 89.47 kB / 1.357 GB, free: 18.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02466/1.27, allocations: 10.35 MB / 1.367 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.595e-06/1.271, allocations: 0 / 1.367 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.39e-05/1.271, allocations: 11.53 kB / 1.367 GB, free: 33.02 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.0006672/1.271, allocations: 0.5704 MB / 1.367 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/1.271, allocations: 14.64 kB / 1.367 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.723e-05/1.271, allocations: 42.88 kB / 1.367 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/1.272, allocations: 354.7 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/1.272, allocations: 0 / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/1.272, allocations: 3.875 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.127e-05/1.272, allocations: 32.39 kB / 1.368 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/1.272, allocations: 70.42 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.272, allocations: 2.953 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/1.272, allocations: 3.875 kB / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/1.272, allocations: 0 / 1.368 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/1.273, allocations: 447.1 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/1.273, allocations: 63.97 kB / 1.368 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/1.273, allocations: 22.36 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/1.273, allocations: 4.109 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/1.273, allocations: 75.17 kB / 1.368 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/1.273, allocations: 0 / 1.368 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002231/1.273, allocations: 125.1 kB / 1.369 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/1.273, allocations: 51.41 kB / 1.369 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/1.274, allocations: 457.5 kB / 1.369 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/1.274, allocations: 29.55 kB / 1.369 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/1.274, allocations: 224.4 kB / 1.369 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/1.274, allocations: 14.84 kB / 1.369 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/1.274, allocations: 0 / 1.369 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.274, allocations: 356.4 kB / 1.37 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/1.274, allocations: 54.22 kB / 1.37 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/1.274, allocations: 76.27 kB / 1.37 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/1.275, allocations: 62.31 kB / 1.37 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.275, allocations: 4.031 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002859/1.275, allocations: 211.6 kB / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.275, allocations: 3.906 kB / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.275, allocations: 0 / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.275, allocations: 0 / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/1.275, allocations: 22.2 kB / 1.37 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.275, allocations: 3.953 kB / 1.37 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/1.275, allocations: 14.16 kB / 1.37 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/1.275, allocations: 14.64 kB / 1.37 GB, free: 31.12 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 9.908e-05/1.275, allocations: 109.2 kB / 1.37 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001315/1.275, allocations: 120.6 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/1.275, allocations: 46.83 kB / 1.37 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/1.276, allocations: 125.6 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.276, allocations: 7.891 kB / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.276, allocations: 128 / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.276, allocations: 7.938 kB / 1.371 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/1.276, allocations: 280.4 kB / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/1.276, allocations: 0 / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.84e-05/1.276, allocations: 10.62 kB / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.276, allocations: 0 / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.276, allocations: 0 / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.276, allocations: 0 / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.276, allocations: 0 / 1.371 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/1.276, allocations: 157.4 kB / 1.371 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/1.276, allocations: 122.2 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/1.276, allocations: 7.844 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/1.276, allocations: 6.078 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/1.276, allocations: 9.578 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/1.276, allocations: 7.656 kB / 1.371 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002814/1.277, allocations: 335.5 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.277, allocations: 3.938 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002598/1.277, allocations: 59.42 kB / 1.371 GB, free: 30.39 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.001129/1.278, allocations: 0.9678 MB / 1.372 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001873/1.278, allocations: 89.83 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.278, allocations: 0 / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.244e-05/1.278, allocations: 36.59 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/1.279, allocations: 47.91 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008583/1.28, allocations: 0.5417 MB / 1.373 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/1.28, allocations: 0.825 MB / 1.374 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.77e-05/1.28, allocations: 23.39 kB / 1.374 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/1.28, allocations: 116.6 kB / 1.374 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.28, allocations: 0 / 1.374 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/1.31, allocations: 6.743 MB / 1.381 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/1.31, allocations: 195.5 kB / 1.381 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.398/3.707, allocations: 0 / 1.381 GB, free: 26.93 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat does not exist to compare? outputFormat=mat