Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_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.005164/0.005164, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.00118/0.00118, allocations: 193.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 71.83 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6612, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003489/0.6647, allocations: 2.45 MB / 1.169 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008629/0.6656, allocations: 0.5354 MB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.6657, allocations: 4 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.6661, allocations: 131.5 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.6663, allocations: 91.27 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.6664, allocations: 47.89 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.6666, allocations: 242.8 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.6668, allocations: 111 kB / 1.17 GB, free: 136 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.6669, allocations: 79.72 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.6671, allocations: 103.5 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.6671, allocations: 16 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.6672, allocations: 20 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.6673, allocations: 75.7 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.6674, allocations: 166.8 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.6677, allocations: 346 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6677, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6678, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.6678, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 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.000783/0.6686, allocations: 0.6571 MB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6686, allocations: 12.62 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.6687, allocations: 50.73 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.6687, allocations: 44.66 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.669, allocations: 306.5 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.6691, allocations: 12.38 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.6691, allocations: 12.38 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.6694, allocations: 143.5 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6694, allocations: 3.938 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.6694, allocations: 4 kB / 1.172 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6694, allocations: 7.938 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.6697, allocations: 91.95 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.6706, allocations: 0.5898 MB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.6708, allocations: 86.66 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.671, allocations: 48.84 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.671, allocations: 7.984 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.671, allocations: 34.5 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.671, allocations: 0 / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0003754/0.6714, allocations: 149.3 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.6715, allocations: 51.41 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.6719, allocations: 394 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.6719, allocations: 29.7 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.6721, allocations: 220.2 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.6721, allocations: 35.72 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.6721, allocations: 21.72 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6723, allocations: 354.7 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.6724, allocations: 24.36 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.6725, allocations: 60.67 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.6727, allocations: 91.3 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6727, allocations: 0 / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002426/0.6729, allocations: 153.3 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6729, allocations: 4 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.673, allocations: 0 / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.673, allocations: 4 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.6731, allocations: 27.92 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6731, allocations: 0 / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.6732, allocations: 15.89 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.6732, allocations: 7.938 kB / 1.174 GB, free: 11.38 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001497/0.6734, allocations: 165.9 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.911e-05/0.6735, allocations: 35.77 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.818e-05/0.6735, allocations: 39.22 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6735, allocations: 0 / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.6735, allocations: 0 / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6736, allocations: 4 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.6739, allocations: 305.5 kB / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6739, allocations: 0 / 1.175 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.674, allocations: 23.92 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.674, allocations: 0 / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.674, allocations: 8 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6741, allocations: 7.984 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6741, allocations: 0 / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.6744, allocations: 263.1 kB / 1.175 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.996e-05/0.6746, allocations: 112.9 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.6746, allocations: 4 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.6747, allocations: 7.938 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.6747, allocations: 4.047 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.6748, allocations: 8 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002737/0.675, allocations: 283.1 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.41e-07/0.675, allocations: 4 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002877/0.6753, allocations: 43.89 kB / 1.175 GB, free: 10 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006996/0.676, allocations: 0.7926 MB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.6763, allocations: 71.84 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6763, allocations: 0 / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.6764, allocations: 32 kB / 1.176 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.6768, allocations: 22.11 kB / 1.176 GB, free: 9.062 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.6798, allocations: 2.728 MB / 1.179 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.6802, allocations: 0.7981 MB / 1.18 GB, free: 5.406 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.455e-05/0.6802, allocations: 12.64 kB / 1.18 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.6804, allocations: 107.4 kB / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of SimCode: time 3.01e-07/0.6804, allocations: 0 / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.704, allocations: 4.954 MB / 1.185 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.66, allocations: 5.469 kB / 1.185 GB, free: 500 kB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches