Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_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.0009739/0.0009742, allocations: 84.38 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.00109/0.001091, 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.367/1.367, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.512/2.512, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003618, allocations: 11.94 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7582, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003137/0.7614, allocations: 2.066 MB / 0.9832 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.7622, allocations: 0.492 MB / 0.9836 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.805e-05/0.7623, allocations: 4 kB / 0.9836 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003438/0.7627, allocations: 107.4 kB / 0.9837 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.7628, allocations: 91.39 kB / 0.9838 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.699e-05/0.7629, allocations: 23.97 kB / 0.9839 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.7633, allocations: 230.8 kB / 0.9841 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.7634, allocations: 87.52 kB / 0.9842 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.7636, allocations: 71.73 kB / 0.9842 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.7637, allocations: 87.52 kB / 0.9843 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.7637, allocations: 8 kB / 0.9843 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.124e-05/0.7638, allocations: 8 kB / 0.9843 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.7639, allocations: 67.75 kB / 0.9844 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.7639, allocations: 89.45 kB / 0.9845 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.7642, allocations: 247.4 kB / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.7642, allocations: 0 / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7642, allocations: 0 / 0.9847 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.7643, allocations: 4 kB / 0.9847 GB, free: 2.562 MB / 0.7325 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.0008509/0.7651, allocations: 0.5989 MB / 0.9853 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7652, allocations: 8.031 kB / 0.9853 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.53e-05/0.7652, allocations: 50.55 kB / 0.9854 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.7653, allocations: 47.44 kB / 0.9854 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.7657, allocations: 285.2 kB / 0.9857 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.7657, allocations: 8 kB / 0.9857 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.7658, allocations: 16 kB / 0.9857 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.766, allocations: 141.1 kB / 0.9858 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.7661, allocations: 7.984 kB / 0.9858 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.7661, allocations: 7.984 kB / 0.9858 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.7661, allocations: 4 kB / 0.9859 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.7663, allocations: 95.89 kB / 0.9859 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009238/0.7673, allocations: 0.5974 MB / 0.9865 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.7676, allocations: 82.61 kB / 0.9866 GB, free: 472 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.7677, allocations: 44.89 kB / 0.9866 GB, free: 424 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.7677, allocations: 0 / 0.9866 GB, free: 424 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.294e-05/0.7678, allocations: 34.56 kB / 0.9867 GB, free: 380 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.7678, allocations: 4 kB / 0.9867 GB, free: 376 kB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004009/0.7682, allocations: 141.2 kB / 0.9868 GB, free: 228 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.7683, allocations: 55.39 kB / 0.9869 GB, free: 160 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.7688, allocations: 382.3 kB / 0.9872 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.7688, allocations: 33.64 kB / 0.9873 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.769, allocations: 223.9 kB / 0.9875 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.7691, allocations: 31.55 kB / 0.9875 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.7691, allocations: 3.938 kB / 0.9875 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.7693, allocations: 350.8 kB / 0.9879 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.7694, allocations: 27.98 kB / 0.9879 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.7695, allocations: 51.42 kB / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.7696, allocations: 35.95 kB / 0.988 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7696, allocations: 4 kB / 0.988 GB, free: 15 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002674/0.7699, allocations: 145.2 kB / 0.9881 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7699, allocations: 4 kB / 0.9881 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.77, allocations: 3.984 kB / 0.9881 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.77, allocations: 4 kB / 0.9881 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.7701, allocations: 31.92 kB / 0.9881 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.7701, allocations: 0 / 0.9881 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.7702, allocations: 23.83 kB / 0.9882 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.7703, allocations: 4.094 kB / 0.9882 GB, free: 14.79 MB / 0.7481 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.0002233/0.7705, allocations: 165.8 kB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.7706, allocations: 35.53 kB / 0.9884 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.081e-05/0.7706, allocations: 39.2 kB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.7706, allocations: 4 kB / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.7707, allocations: 0 / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7707, allocations: 0 / 0.9884 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.7711, allocations: 301.5 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7711, allocations: 3.953 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.7713, allocations: 31.86 kB / 0.9887 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.7713, allocations: 3.984 kB / 0.9887 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.7713, allocations: 0 / 0.9887 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7713, allocations: 0 / 0.9887 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.7713, allocations: 4 kB / 0.9887 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.7718, allocations: 255 kB / 0.989 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.7719, allocations: 112.7 kB / 0.9891 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.7719, allocations: 4.062 kB / 0.9891 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-05/0.772, allocations: 11.98 kB / 0.9891 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.7721, allocations: 4 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.7721, allocations: 4 kB / 0.9891 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003315/0.7724, allocations: 275.1 kB / 0.9894 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7724, allocations: 0 / 0.9894 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002963/0.7727, allocations: 43.84 kB / 0.9894 GB, free: 13.42 MB / 0.7481 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.0009068/0.7737, allocations: 0.8018 MB / 0.9902 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000226/0.7739, allocations: 71.84 kB / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7739, allocations: 0 / 0.9903 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.774, allocations: 31.98 kB / 0.9903 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.7744, allocations: 31.73 kB / 0.9903 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.7775, allocations: 1.884 MB / 0.9922 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.778, allocations: 0.7984 MB / 0.9929 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.64e-05/0.7781, allocations: 12.64 kB / 0.993 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.7782, allocations: 99.41 kB / 0.9931 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/0.7782, allocations: 3.938 kB / 0.9931 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.7942, allocations: 4.821 MB / 0.9978 GB, free: 4.934 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001913/0.7945, allocations: 205 kB / 0.998 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.612, allocations: 4 kB / 0.998 GB, free: 4.691 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat does not exist to compare? outputFormat=mat