Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",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.261/2.261, allocations: 387.1 MB / 399.7 MB, free: 9.547 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.00111/0.00111, allocations: 180.8 kB / 492.3 MB, free: 0.6562 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.613/1.613, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.0008503/0.0008503, allocations: 95.89 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.542e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2583, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8902/1.149, allocations: 152.3 MB / 1.361 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/1.149, allocations: 88.03 kB / 1.361 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01409/1.163, allocations: 6.236 MB / 1.367 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.392e-06/1.163, allocations: 0 / 1.367 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.714e-05/1.163, allocations: 3.781 kB / 1.367 GB, free: 33.91 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006498/1.164, allocations: 0.5614 MB / 1.368 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.164, allocations: 7.656 kB / 1.368 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.957e-05/1.164, allocations: 46 kB / 1.368 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/1.164, allocations: 42.75 kB / 1.368 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/1.164, allocations: 250 kB / 1.368 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/1.164, allocations: 11.62 kB / 1.368 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/1.164, allocations: 18.44 kB / 1.368 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/1.164, allocations: 135.4 kB / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/1.164, allocations: 0 / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/1.164, allocations: 14.84 kB / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.164, allocations: 3.875 kB / 1.368 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/1.165, allocations: 84.23 kB / 1.369 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/1.165, allocations: 0.5997 MB / 1.369 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/1.166, allocations: 89.02 kB / 1.369 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/1.166, allocations: 47.61 kB / 1.369 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/1.166, allocations: 3.938 kB / 1.369 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/1.166, allocations: 30.56 kB / 1.369 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/1.166, allocations: 4 kB / 1.369 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002301/1.166, allocations: 125.2 kB / 1.369 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/1.166, allocations: 51.41 kB / 1.369 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/1.166, allocations: 360.6 kB / 1.37 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/1.166, allocations: 27.34 kB / 1.37 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/1.167, allocations: 211.4 kB / 1.37 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/1.167, allocations: 30 kB / 1.37 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/1.167, allocations: 3.156 kB / 1.37 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/1.167, allocations: 350.2 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/1.167, allocations: 25.88 kB / 1.37 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/1.167, allocations: 38.72 kB / 1.37 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/1.167, allocations: 32.36 kB / 1.371 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.167, allocations: 0 / 1.371 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001628/1.167, allocations: 132.1 kB / 1.371 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.167, allocations: 4.906 kB / 1.371 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/1.167, allocations: 0 / 1.371 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.167, allocations: 7.969 kB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/1.167, allocations: 33.33 kB / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.167, allocations: 0 / 1.371 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/1.167, allocations: 26.47 kB / 1.371 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/1.167, allocations: 0 / 1.371 GB, free: 31.94 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.752e-05/1.167, allocations: 109.7 kB / 1.371 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/1.167, allocations: 39.09 kB / 1.371 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/1.168, allocations: 39.11 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.168, allocations: 0 / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/1.168, allocations: 15.77 kB / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.168, allocations: 0 / 1.371 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/1.168, allocations: 313.1 kB / 1.371 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.168, allocations: 2.812 kB / 1.371 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/1.168, allocations: 26.42 kB / 1.371 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.168, allocations: 0 / 1.371 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.168, allocations: 4 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/1.168, allocations: 3.875 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.168, allocations: 0 / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/1.168, allocations: 258.4 kB / 1.371 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/1.168, allocations: 107.5 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/1.168, allocations: 0 / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/1.169, allocations: 13.92 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/1.169, allocations: 10.09 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/1.169, allocations: 0 / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002634/1.169, allocations: 290.4 kB / 1.372 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.169, allocations: 0 / 1.372 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002833/1.169, allocations: 50.3 kB / 1.372 GB, free: 31.22 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0006369/1.17, allocations: 0.8173 MB / 1.373 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001508/1.17, allocations: 62.84 kB / 1.373 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.17, allocations: 0 / 1.373 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.509e-05/1.17, allocations: 33.25 kB / 1.373 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/1.17, allocations: 40.09 kB / 1.373 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/1.171, allocations: 0.5304 MB / 1.373 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/1.172, allocations: 0.8076 MB / 1.374 GB, free: 29.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.366e-05/1.172, allocations: 15.67 kB / 1.374 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.172, allocations: 101.1 kB / 1.374 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.172, allocations: 0 / 1.374 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/1.194, allocations: 5.97 MB / 1.38 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.194, allocations: 165.5 kB / 1.38 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/3.046, allocations: 0 / 1.38 GB, free: 28.59 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat does not exist to compare? outputFormat=mat