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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 0.6653 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.7716, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002914/0.7746, allocations: 1.982 MB / 0.9555 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.7753, allocations: 0.4945 MB / 0.956 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.7754, allocations: 2.438 kB / 0.956 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.7757, allocations: 117.6 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.7758, allocations: 92.91 kB / 0.9562 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.692e-05/0.7759, allocations: 28.25 kB / 0.9562 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.7761, allocations: 176.8 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.7763, allocations: 81.73 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.729e-05/0.7764, allocations: 70.89 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.7765, allocations: 84.92 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.7766, allocations: 8.562 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.295e-05/0.7766, allocations: 7.719 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.7767, allocations: 82.98 kB / 0.9567 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.7767, allocations: 81.55 kB / 0.9568 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.7769, allocations: 242 kB / 0.957 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.7769, allocations: 0 / 0.957 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7769, allocations: 1.25 kB / 0.957 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7769, allocations: 0 / 0.957 GB, free: 5.48 MB / 0.7169 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.0006289/0.7776, allocations: 0.6075 MB / 0.9576 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.7776, allocations: 13.78 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.7777, allocations: 54.92 kB / 0.9577 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.7777, allocations: 48.33 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.778, allocations: 282 kB / 0.958 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.7781, allocations: 9.875 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.7781, allocations: 21.72 kB / 0.958 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.7783, allocations: 135 kB / 0.9582 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7784, allocations: 3.984 kB / 0.9582 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.7784, allocations: 5.969 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.7784, allocations: 3.781 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.7786, allocations: 102.2 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007443/0.7794, allocations: 0.5784 MB / 0.9588 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.7796, allocations: 92.8 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.7796, allocations: 1.344 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.7797, allocations: 40.08 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.7797, allocations: 0 / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003287/0.78, allocations: 145.7 kB / 0.9591 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.78, allocations: 56.77 kB / 0.9592 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.7804, allocations: 382.6 kB / 0.9595 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.7804, allocations: 25.7 kB / 0.9596 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.7806, allocations: 214 kB / 0.9598 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.7806, allocations: 39.58 kB / 0.9598 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.7806, allocations: 5.375 kB / 0.9598 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.7807, allocations: 344.4 kB / 0.9601 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.7808, allocations: 29.61 kB / 0.9602 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.7809, allocations: 51.61 kB / 0.9602 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.11e-05/0.781, allocations: 40.66 kB / 0.9602 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.781, allocations: 1.25 kB / 0.9602 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002325/0.7812, allocations: 137.3 kB / 0.9604 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7812, allocations: 9.516 kB / 0.9604 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7812, allocations: 1.938 kB / 0.9604 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.7813, allocations: 9.234 kB / 0.9604 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.7814, allocations: 19.28 kB / 0.9604 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.7814, allocations: 6.438 kB / 0.9604 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-05/0.7815, allocations: 24.33 kB / 0.9604 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.7815, allocations: 7.75 kB / 0.9605 GB, free: 2.59 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001201/0.7816, allocations: 164.5 kB / 0.9606 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.7817, allocations: 30.59 kB / 0.9606 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.288e-05/0.7817, allocations: 46.03 kB / 0.9607 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.7818, allocations: 0.8438 kB / 0.9607 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7818, allocations: 1.219 kB / 0.9607 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7818, allocations: 4 kB / 0.9607 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.7821, allocations: 308.4 kB / 0.961 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7821, allocations: 1.094 kB / 0.961 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.7822, allocations: 18.61 kB / 0.961 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7822, allocations: 1.094 kB / 0.961 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.7822, allocations: 4.688 kB / 0.961 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7822, allocations: 4.703 kB / 0.961 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7822, allocations: 0.75 kB / 0.961 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.7826, allocations: 249.5 kB / 0.9613 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.26e-05/0.7827, allocations: 113.7 kB / 0.9614 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.7827, allocations: 9.031 kB / 0.9614 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.7828, allocations: 9.938 kB / 0.9614 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.7828, allocations: 8.078 kB / 0.9614 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.7829, allocations: 0.9688 kB / 0.9614 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002485/0.7831, allocations: 278.6 kB / 0.9617 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7831, allocations: 0 / 0.9617 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002982/0.7834, allocations: 51.38 kB / 0.9617 GB, free: 1.574 MB / 0.7169 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 () * Number of clocked 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.0004683/0.7839, allocations: 0.7895 MB / 0.9625 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.7841, allocations: 69.78 kB / 0.9625 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7841, allocations: 4 kB / 0.9625 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.7842, allocations: 39.95 kB / 0.9626 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.7845, allocations: 29.19 kB / 0.9626 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.7872, allocations: 2.289 MB / 0.9648 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.7876, allocations: 0.8103 MB / 0.9656 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.3e-05/0.7877, allocations: 9.609 kB / 0.9656 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.7878, allocations: 101.9 kB / 0.9657 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.7878, allocations: 0 / 0.9657 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.8056, allocations: 4.805 MB / 0.9704 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.8059, allocations: 193.4 kB / 0.9706 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.636, allocations: 1.969 kB / 0.9706 GB, free: 11.7 MB / 0.7325 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