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.0007709/0.0007709, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.0008018/0.0008018, allocations: 168.7 kB / 15.95 MB, free: 204 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.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.418 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.488/2.488, allocations: 390.4 MB / 0.6655 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003636, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7364, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002665/0.7392, allocations: 2.069 MB / 0.9559 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.7402, allocations: 496.1 kB / 0.9564 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.7404, allocations: 2.469 kB / 0.9564 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.7408, allocations: 120.9 kB / 0.9565 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.7411, allocations: 78.62 kB / 0.9565 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.7412, allocations: 32.83 kB / 0.9566 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.7415, allocations: 223.4 kB / 0.9568 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.7418, allocations: 81.03 kB / 0.9569 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.742, allocations: 75.58 kB / 0.9569 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.7422, allocations: 89.55 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.286e-05/0.7422, allocations: 7.281 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.494e-05/0.7423, allocations: 8.031 kB / 0.957 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.7424, allocations: 74.97 kB / 0.9571 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.54e-05/0.7425, allocations: 81.17 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.7427, allocations: 248.3 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.7427, allocations: 0 / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7427, allocations: 0 / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.7428, allocations: 1.062 kB / 0.9574 GB, free: 5.34 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.0008571/0.7436, allocations: 0.603 MB / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.7437, allocations: 13.06 kB / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.7438, allocations: 50.83 kB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.249e-05/0.7439, allocations: 48.02 kB / 0.9581 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.7442, allocations: 290 kB / 0.9584 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.7443, allocations: 10.38 kB / 0.9584 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.7443, allocations: 13.88 kB / 0.9584 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.7446, allocations: 136.4 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.7447, allocations: 0 / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.7447, allocations: 9.5 kB / 0.9586 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.7447, allocations: 3.594 kB / 0.9586 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.7449, allocations: 91.22 kB / 0.9586 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/0.7458, allocations: 0.5846 MB / 0.9592 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.746, allocations: 90.78 kB / 0.9593 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/0.7461, allocations: 46.28 kB / 0.9594 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.7462, allocations: 9.266 kB / 0.9594 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.7462, allocations: 35.94 kB / 0.9594 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.7462, allocations: 0 / 0.9594 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003792/0.7466, allocations: 145.6 kB / 0.9595 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.7466, allocations: 52.78 kB / 0.9596 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.747, allocations: 386.6 kB / 0.96 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.7471, allocations: 27.08 kB / 0.96 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.7472, allocations: 214 kB / 0.9602 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.7472, allocations: 39.58 kB / 0.9602 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.7472, allocations: 4 kB / 0.9602 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.7473, allocations: 348.3 kB / 0.9606 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.7474, allocations: 22.66 kB / 0.9606 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.7475, allocations: 62.59 kB / 0.9606 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.7476, allocations: 38 kB / 0.9607 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7476, allocations: 0 / 0.9607 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002452/0.7478, allocations: 142.1 kB / 0.9608 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7479, allocations: 9.641 kB / 0.9608 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7479, allocations: 1.188 kB / 0.9608 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7479, allocations: 0.9688 kB / 0.9608 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.748, allocations: 24.39 kB / 0.9608 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.748, allocations: 0.9688 kB / 0.9608 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.7482, allocations: 29.42 kB / 0.9609 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.7482, allocations: 3.75 kB / 0.9609 GB, free: 2.43 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.0001336/0.7483, allocations: 164.2 kB / 0.961 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.7484, allocations: 31.56 kB / 0.9611 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.384e-05/0.7484, allocations: 45.06 kB / 0.9611 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.7484, allocations: 4.969 kB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.7485, allocations: 1.031 kB / 0.9611 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7485, allocations: 4 kB / 0.9611 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.7488, allocations: 308.9 kB / 0.9614 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7488, allocations: 1.219 kB / 0.9614 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.7489, allocations: 19.41 kB / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7489, allocations: 3.984 kB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.7489, allocations: 1 kB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.749, allocations: 4.922 kB / 0.9614 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.749, allocations: 0 / 0.9614 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.7493, allocations: 253.7 kB / 0.9617 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.7494, allocations: 117.5 kB / 0.9618 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.7494, allocations: 0.9688 kB / 0.9618 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.7495, allocations: 7.141 kB / 0.9618 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.7496, allocations: 7.266 kB / 0.9618 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.7496, allocations: 5.031 kB / 0.9618 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003107/0.7499, allocations: 274.5 kB / 0.9621 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7499, allocations: 0 / 0.9621 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003158/0.7502, allocations: 46.88 kB / 0.9621 GB, free: 1.418 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.0006252/0.7509, allocations: 0.7906 MB / 0.9629 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.7511, allocations: 76.88 kB / 0.963 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7511, allocations: 4.25 kB / 0.963 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.7512, allocations: 36.36 kB / 0.963 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.7516, allocations: 29.17 kB / 0.963 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.7548, allocations: 1.885 MB / 0.9649 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.7552, allocations: 0.7958 MB / 0.9656 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.339e-05/0.7553, allocations: 18.06 kB / 0.9657 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.7555, allocations: 101.4 kB / 0.9658 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of SimCode: time 6.31e-07/0.7555, allocations: 1.344 kB / 0.9658 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.7755, allocations: 4.827 MB / 0.9705 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/0.7757, allocations: 192.9 kB / 0.9707 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.561, allocations: 1.828 kB / 0.9707 GB, free: 11.97 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