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.001664/0.001664, 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.002459/0.002459, 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 2.544/2.544, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.347/4.347, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006917/0.0006919, allocations: 12 kB / 0.8375 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289/1.289, allocations: 146.8 MB / 0.9809 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00419/1.294, allocations: 1.98 MB / 0.9828 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00141/1.295, allocations: 0.4962 MB / 0.9833 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/1.295, allocations: 4 kB / 0.9833 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005808/1.296, allocations: 115.5 kB / 0.9834 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002624/1.296, allocations: 91.75 kB / 0.9835 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/1.296, allocations: 31.97 kB / 0.9835 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/1.297, allocations: 179.6 kB / 0.9837 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/1.297, allocations: 71.61 kB / 0.9838 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/1.297, allocations: 87.58 kB / 0.9838 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/1.297, allocations: 83.64 kB / 0.9839 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/1.297, allocations: 15.94 kB / 0.9839 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/1.297, allocations: 8 kB / 0.9839 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/1.298, allocations: 67.75 kB / 0.984 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.966e-05/1.298, allocations: 81.52 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003919/1.298, allocations: 243.4 kB / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/1.298, allocations: 0 / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.555e-06/1.298, allocations: 0 / 0.9843 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.298, allocations: 0 / 0.9843 GB, free: 2.777 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.001435/1.3, allocations: 0.5989 MB / 0.9849 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.665e-05/1.3, allocations: 16.02 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.471e-05/1.3, allocations: 50.5 kB / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/1.3, allocations: 47.42 kB / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/1.301, allocations: 281.2 kB / 0.9853 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/1.301, allocations: 12 kB / 0.9853 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/1.301, allocations: 16 kB / 0.9853 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/1.301, allocations: 137.3 kB / 0.9854 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.301, allocations: 3.938 kB / 0.9854 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/1.301, allocations: 8 kB / 0.9855 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/1.301, allocations: 4 kB / 0.9855 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/1.302, allocations: 99.69 kB / 0.9855 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/1.303, allocations: 0.5897 MB / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/1.303, allocations: 98.58 kB / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/1.303, allocations: 4 kB / 0.9862 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/1.303, allocations: 34.56 kB / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/1.303, allocations: 0 / 0.9863 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005628/1.304, allocations: 141.4 kB / 0.9864 GB, free: 484 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/1.304, allocations: 51.41 kB / 0.9864 GB, free: 420 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/1.305, allocations: 386 kB / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/1.305, allocations: 25.7 kB / 0.9868 GB, free: 0 / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.305, allocations: 224 kB / 0.987 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/1.305, allocations: 31.55 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/1.305, allocations: 4 kB / 0.9871 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002702/1.305, allocations: 350.7 kB / 0.9874 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/1.306, allocations: 31.98 kB / 0.9874 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/1.306, allocations: 47.42 kB / 0.9875 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/1.306, allocations: 43.94 kB / 0.9875 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.306, allocations: 3.953 kB / 0.9875 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004328/1.306, allocations: 141.5 kB / 0.9877 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/1.306, allocations: 5.562 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.306, allocations: 0 / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.306, allocations: 4.094 kB / 0.9877 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/1.307, allocations: 32.02 kB / 0.9877 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.307, allocations: 0 / 0.9877 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/1.307, allocations: 23.83 kB / 0.9877 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/1.307, allocations: 0 / 0.9877 GB, free: 15.04 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.0003397/1.307, allocations: 167.1 kB / 0.9879 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/1.307, allocations: 39.48 kB / 0.9879 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/1.307, allocations: 43.2 kB / 0.988 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/1.307, allocations: 0 / 0.988 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.307, allocations: 8 kB / 0.988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.307, allocations: 0 / 0.988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/1.308, allocations: 301.5 kB / 0.9883 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.308, allocations: 0 / 0.9883 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/1.308, allocations: 23.94 kB / 0.9883 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.308, allocations: 0 / 0.9883 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/1.308, allocations: 4 kB / 0.9883 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.308, allocations: 4 kB / 0.9883 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.308, allocations: 0 / 0.9883 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006041/1.309, allocations: 247 kB / 0.9885 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/1.309, allocations: 116.7 kB / 0.9886 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/1.309, allocations: 7.953 kB / 0.9887 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/1.309, allocations: 3.984 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/1.31, allocations: 7.938 kB / 0.9887 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/1.31, allocations: 4 kB / 0.9887 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004996/1.31, allocations: 275.1 kB / 0.9889 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/1.31, allocations: 4.062 kB / 0.9889 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005806/1.311, allocations: 47.84 kB / 0.989 GB, free: 13.68 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.001288/1.312, allocations: 0.7902 MB / 0.9898 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003692/1.312, allocations: 75.97 kB / 0.9898 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.312, allocations: 0 / 0.9898 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/1.313, allocations: 43.92 kB / 0.9899 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/1.313, allocations: 17.52 kB / 0.9899 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/1.318, allocations: 2.302 MB / 0.9921 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000791/1.319, allocations: 0.8101 MB / 0.9929 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001413/1.319, allocations: 8.656 kB / 0.9929 GB, free: 9.504 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/1.32, allocations: 103.4 kB / 0.993 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of SimCode: time 1.132e-06/1.32, allocations: 0 / 0.993 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.278/2.598, allocations: 4.819 MB / 0.9977 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003546/2.598, allocations: 190.3 kB / 0.9979 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.475/6.073, allocations: 0 / 0.9979 GB, free: 4.539 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