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.318/2.318, allocations: 390.3 MB / 405.3 MB, free: 13.57 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.001212/0.001212, allocations: 184.3 kB / 498.1 MB, free: 5.812 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.637/1.637, allocations: 223.2 MB / 0.7948 GB, free: 18.92 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.001183/0.001183, allocations: 98.78 kB / 0.9346 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0003999, allocations: 9.969 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 142.4 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.4854, allocations: 154.9 MB / 1.374 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4857, allocations: 95.95 kB / 1.374 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02707/0.5128, allocations: 10.47 MB / 1.385 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5128, allocations: 0 / 1.385 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.036e-05/0.5129, allocations: 8 kB / 1.385 GB, free: 3.719 MB / 0.8855 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.001103/0.514, allocations: 0.6609 MB / 1.385 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.514, allocations: 8.031 kB / 1.385 GB, free: 3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.5141, allocations: 42.5 kB / 1.385 GB, free: 2.949 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.5142, allocations: 51.39 kB / 1.385 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/0.5149, allocations: 347.2 kB / 1.386 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5149, allocations: 8 kB / 1.386 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.515, allocations: 4 kB / 1.386 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.5151, allocations: 77.59 kB / 1.386 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.5152, allocations: 0 / 1.386 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.5152, allocations: 4 kB / 1.386 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5152, allocations: 0 / 1.386 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.5153, allocations: 47.91 kB / 1.386 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.5162, allocations: 464.6 kB / 1.386 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.5164, allocations: 74.61 kB / 1.386 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.5164, allocations: 0 / 1.386 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.5166, allocations: 83.45 kB / 1.386 GB, free: 1.695 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5166, allocations: 0 / 1.386 GB, free: 1.695 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0003961/0.517, allocations: 149.2 kB / 1.386 GB, free: 1.543 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.5171, allocations: 55.41 kB / 1.387 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.5177, allocations: 485.3 kB / 1.387 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.5178, allocations: 29.7 kB / 1.387 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.5179, allocations: 216 kB / 1.387 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.518, allocations: 23.73 kB / 1.387 GB, free: 0.7227 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.518, allocations: 4 kB / 1.387 GB, free: 0.7188 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5182, allocations: 354.8 kB / 1.388 GB, free: 372 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.5183, allocations: 55.97 kB / 1.388 GB, free: 316 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.5185, allocations: 87.78 kB / 1.388 GB, free: 220 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.5186, allocations: 59.98 kB / 1.388 GB, free: 160 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5186, allocations: 0 / 1.388 GB, free: 160 kB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003868/0.519, allocations: 217.1 kB / 1.388 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5191, allocations: 7.938 kB / 1.388 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5191, allocations: 8.016 kB / 1.388 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.5191, allocations: 4 kB / 1.388 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.5192, allocations: 23.92 kB / 1.388 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.5192, allocations: 0 / 1.388 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.5194, allocations: 24.05 kB / 1.388 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.5194, allocations: 7.938 kB / 1.388 GB, free: 15.86 MB / 0.9011 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 () * Number of clocked 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.000192/0.5196, allocations: 177.8 kB / 1.388 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.5197, allocations: 43.42 kB / 1.388 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.52, allocations: 149.4 kB / 1.388 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.52, allocations: 3.953 kB / 1.388 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.52, allocations: 4 kB / 1.388 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.52, allocations: 0 / 1.388 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.5203, allocations: 305.4 kB / 1.389 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5203, allocations: 0 / 1.389 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.5203, allocations: 7.984 kB / 1.389 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5203, allocations: 0 / 1.389 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.5204, allocations: 0 / 1.389 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5204, allocations: 4 kB / 1.389 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5204, allocations: 3.953 kB / 1.389 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.5206, allocations: 156.5 kB / 1.389 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5208, allocations: 124.5 kB / 1.389 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.5208, allocations: 0 / 1.389 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5209, allocations: 11.98 kB / 1.389 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.521, allocations: 15.94 kB / 1.389 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.521, allocations: 0 / 1.389 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004364/0.5214, allocations: 366.8 kB / 1.389 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5215, allocations: 0 / 1.389 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003376/0.5218, allocations: 63.94 kB / 1.389 GB, free: 14.35 MB / 0.9011 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) * Number of clocked states: 0 () * 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.001684/0.5235, allocations: 1.046 MB / 1.39 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.5238, allocations: 103.9 kB / 1.391 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5238, allocations: 4 kB / 1.391 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.5239, allocations: 27.94 kB / 1.391 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.5243, allocations: 45.92 kB / 1.391 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.526, allocations: 1.187 MB / 1.392 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.5264, allocations: 0.8297 MB / 1.393 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000134/0.5266, allocations: 33.66 kB / 1.393 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.5267, allocations: 115.4 kB / 1.393 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of SimCode: time 4.71e-07/0.5267, allocations: 0 / 1.393 GB, free: 11.01 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.5498, allocations: 7.454 MB / 1.4 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.55, allocations: 227.2 kB / 1.4 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.653, allocations: 4.062 kB / 1.4 GB, free: 3.504 MB / 0.9011 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