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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001129/0.001129, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.0009238/0.0009238, allocations: 95.89 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.312e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9082/1.169, allocations: 153.1 MB / 1.368 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.169, allocations: 81.38 kB / 1.368 GB, free: 0.875 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01518/1.185, allocations: 6.229 MB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.185, allocations: 4 kB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.185, allocations: 4 kB / 1.375 GB, free: 11.41 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.0006853/1.185, allocations: 0.5471 MB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.185, allocations: 8.031 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/1.185, allocations: 48.92 kB / 1.375 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/1.186, allocations: 47.39 kB / 1.375 GB, free: 10.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/1.186, allocations: 253 kB / 1.375 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.186, allocations: 11.38 kB / 1.375 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/1.186, allocations: 11.69 kB / 1.375 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/1.186, allocations: 141.1 kB / 1.376 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.186, allocations: 0 / 1.376 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.186, allocations: 6.375 kB / 1.376 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.186, allocations: 4 kB / 1.376 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/1.186, allocations: 91.36 kB / 1.376 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/1.187, allocations: 0.598 MB / 1.376 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/1.187, allocations: 91.11 kB / 1.376 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/1.188, allocations: 51.75 kB / 1.376 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/1.188, allocations: 4 kB / 1.376 GB, free: 9.617 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.188, allocations: 34.7 kB / 1.376 GB, free: 9.574 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/1.188, allocations: 3.938 kB / 1.376 GB, free: 9.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002543/1.188, allocations: 120.7 kB / 1.377 GB, free: 9.465 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/1.188, allocations: 55.41 kB / 1.377 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/1.188, allocations: 357.9 kB / 1.377 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.188, allocations: 25.7 kB / 1.377 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/1.189, allocations: 214.2 kB / 1.377 GB, free: 8.941 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/1.189, allocations: 31.31 kB / 1.377 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/1.189, allocations: 3.688 kB / 1.377 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.189, allocations: 349 kB / 1.378 GB, free: 8.578 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.204e-05/1.189, allocations: 21.81 kB / 1.378 GB, free: 8.566 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/1.189, allocations: 43.64 kB / 1.378 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/1.189, allocations: 25.5 kB / 1.378 GB, free: 8.516 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.189, allocations: 0 / 1.378 GB, free: 8.516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001818/1.189, allocations: 136.7 kB / 1.378 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.189, allocations: 4 kB / 1.378 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/1.189, allocations: 4 kB / 1.378 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.189, allocations: 3.953 kB / 1.378 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/1.189, allocations: 35.84 kB / 1.378 GB, free: 8.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/1.189, allocations: 7.984 kB / 1.378 GB, free: 8.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/1.189, allocations: 19.83 kB / 1.378 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/1.189, allocations: 11.84 kB / 1.378 GB, free: 8.316 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 6.848e-05/1.19, allocations: 101 kB / 1.378 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/1.19, allocations: 35.53 kB / 1.378 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/1.19, allocations: 40.14 kB / 1.378 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.19, allocations: 4.141 kB / 1.378 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.19, allocations: 0 / 1.378 GB, free: 8.141 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.19, allocations: 7.938 kB / 1.378 GB, free: 8.133 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/1.19, allocations: 303.3 kB / 1.378 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.19, allocations: 0 / 1.378 GB, free: 7.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/1.19, allocations: 35.91 kB / 1.378 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.19, allocations: 0 / 1.378 GB, free: 7.805 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/1.19, allocations: 7.812 kB / 1.378 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/1.19, allocations: 0 / 1.378 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.19, allocations: 3.953 kB / 1.378 GB, free: 7.797 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/1.191, allocations: 245.6 kB / 1.379 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/1.191, allocations: 112.5 kB / 1.379 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/1.191, allocations: 8.062 kB / 1.379 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/1.191, allocations: 4 kB / 1.379 GB, free: 7.438 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/1.191, allocations: 11.05 kB / 1.379 GB, free: 7.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/1.191, allocations: 11.95 kB / 1.379 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002718/1.191, allocations: 284.3 kB / 1.379 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.191, allocations: 0 / 1.379 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002744/1.191, allocations: 51.72 kB / 1.379 GB, free: 7.148 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.0006352/1.192, allocations: 0.8105 MB / 1.38 GB, free: 6.344 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000189/1.192, allocations: 71.25 kB / 1.38 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.192, allocations: 0 / 1.38 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.693e-05/1.192, allocations: 38.38 kB / 1.38 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/1.193, allocations: 31.86 kB / 1.38 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/1.194, allocations: 0.5271 MB / 1.381 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/1.194, allocations: 0.8044 MB / 1.381 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.995e-05/1.194, allocations: 13.2 kB / 1.381 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/1.194, allocations: 102.9 kB / 1.381 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.194, allocations: 0 / 1.381 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/1.212, allocations: 5.99 MB / 1.387 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/1.212, allocations: 168.8 kB / 1.387 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/3.266, allocations: 0 / 1.387 GB, free: 14.84 MB / 0.8542 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) 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