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.005309/0.005309, allocations: 101 kB / 15.73 MB, free: 6.055 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.002075/0.002075, allocations: 192.3 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.591/2.591, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.83 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7079, 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.003763/0.7117, allocations: 2.461 MB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.7125, allocations: 0.5276 MB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.7126, allocations: 4 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.713, allocations: 139.4 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.7131, allocations: 83.28 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.7133, allocations: 47.94 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.7135, allocations: 238.7 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.7138, allocations: 111.1 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.7139, allocations: 87.66 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.714, allocations: 95.58 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.665e-05/0.7141, allocations: 20 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 4.273e-05/0.7141, allocations: 20 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.7142, allocations: 83.69 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.7144, allocations: 151 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.7148, allocations: 349.9 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.7148, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.71e-07/0.7148, allocations: 0 / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7148, 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.0008445/0.7156, allocations: 0.6571 MB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.7157, allocations: 8.922 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.7157, allocations: 54.73 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.698e-05/0.7158, allocations: 44.66 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.7162, allocations: 306.5 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.7162, allocations: 12.38 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.7162, allocations: 16.38 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.7165, allocations: 139.5 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.7165, allocations: 3.938 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.7166, allocations: 12 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7166, allocations: 4 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.7168, allocations: 87.95 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.7176, allocations: 0.5937 MB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.7179, allocations: 94.55 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.718, allocations: 48.88 kB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.718, allocations: 0 / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.718, allocations: 34.56 kB / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.718, allocations: 0 / 1.172 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0003497/0.7184, allocations: 149.3 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.7185, allocations: 59.39 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.7189, allocations: 386 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.7189, allocations: 29.7 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.7191, allocations: 216.2 kB / 1.173 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.7191, allocations: 31.73 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.7192, allocations: 25.72 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.7194, allocations: 358.7 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.548e-05/0.7194, allocations: 23.98 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.7195, allocations: 56.17 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.7197, allocations: 87.36 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7197, allocations: 0 / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002475/0.72, allocations: 153.7 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.72, allocations: 8.094 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.72, allocations: 3.938 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.72, allocations: 4 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.7202, allocations: 23.98 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7202, allocations: 0 / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-05/0.7203, allocations: 15.88 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.7203, allocations: 11.94 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.000151/0.7204, allocations: 161.8 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.011e-05/0.7205, allocations: 35.77 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.156e-05/0.7206, allocations: 43.2 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7206, allocations: 0 / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7206, allocations: 4 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7206, allocations: 0 / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.7209, allocations: 309.5 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7209, allocations: 0 / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.7211, allocations: 16 kB / 1.175 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.7211, allocations: 7.984 kB / 1.175 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.7211, allocations: 4 kB / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7211, allocations: 0 / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7211, allocations: 0 / 1.175 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.7215, allocations: 259.2 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.7216, allocations: 112.9 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.7216, allocations: 7.922 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.7217, allocations: 12 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.7218, allocations: 7.984 kB / 1.175 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.7218, allocations: 4 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002855/0.7221, allocations: 283.1 kB / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7221, allocations: 0 / 1.175 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000266/0.7223, allocations: 43.89 kB / 1.175 GB, free: 10.01 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.0007133/0.7231, allocations: 0.7943 MB / 1.176 GB, free: 9.191 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.7233, allocations: 71.91 kB / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7233, allocations: 0 / 1.176 GB, free: 9.121 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.7234, allocations: 35.92 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.0003586/0.7237, allocations: 27.88 kB / 1.176 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003261/0.727, allocations: 2.72 MB / 1.179 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.7275, allocations: 0.7981 MB / 1.18 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.876e-05/0.7276, allocations: 16.62 kB / 1.18 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.7277, allocations: 99.41 kB / 1.18 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/0.7277, allocations: 480 / 1.18 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.7548, allocations: 4.955 MB / 1.185 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.951, allocations: 5 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