Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_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.005114/0.005114, allocations: 98.66 kB / 15.73 MB, free: 6.066 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.001513/0.001513, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.404/1.404, 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 11.1.0-maint.11.x/package.mo): time 2.715/2.715, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 63.91 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6618, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004067/0.6659, allocations: 2.448 MB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009874/0.6669, allocations: 0.5237 MB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.6671, allocations: 4 kB / 1.223 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.6675, allocations: 135.4 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.6677, allocations: 87.28 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.6679, allocations: 43.95 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.6682, allocations: 242.7 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.6684, allocations: 103.1 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.6686, allocations: 87.66 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.6687, allocations: 107.4 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.956e-05/0.6688, allocations: 16 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.6688, allocations: 20 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.669, allocations: 79.69 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.6691, allocations: 155 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.6695, allocations: 350 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6696, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6696, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.6696, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 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.0009482/0.6705, allocations: 0.6609 MB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6706, allocations: 11.97 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.6706, allocations: 54.73 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.6707, allocations: 48.66 kB / 1.225 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004038/0.6711, allocations: 306.5 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.6712, allocations: 12.38 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.6712, allocations: 12.38 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.6715, allocations: 141.9 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6716, allocations: 3.938 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.6716, allocations: 4 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.6716, allocations: 4 kB / 1.226 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.6718, allocations: 95.94 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.6728, allocations: 0.5859 MB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.673, allocations: 94.55 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.6732, allocations: 44.89 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.6732, allocations: 0 / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.6732, allocations: 34.56 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.6732, allocations: 0 / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0003904/0.6736, allocations: 149.4 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.6737, allocations: 51.41 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.6741, allocations: 394 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.6742, allocations: 29.7 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.6744, allocations: 212.2 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.6744, allocations: 39.66 kB / 1.227 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.6745, allocations: 33.66 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6746, allocations: 350.8 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.6747, allocations: 23.98 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.6749, allocations: 69.34 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6751, allocations: 87.69 kB / 1.228 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6751, allocations: 3.984 kB / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002877/0.6754, allocations: 145.3 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.6754, allocations: 11.98 kB / 1.228 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.6754, allocations: 0 / 1.228 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6754, allocations: 4 kB / 1.228 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.6756, allocations: 23.98 kB / 1.228 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.6756, allocations: 3.984 kB / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.6757, allocations: 7.938 kB / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.6757, allocations: 11.94 kB / 1.228 GB, free: 9.672 MB / 0.9512 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.0001707/0.6758, allocations: 166.4 kB / 1.228 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.6759, allocations: 35.77 kB / 1.228 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.62e-05/0.676, allocations: 43.2 kB / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.676, allocations: 0 / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.676, allocations: 0 / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.676, allocations: 0 / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.6764, allocations: 309.4 kB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.6764, allocations: 0 / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.6765, allocations: 19.98 kB / 1.229 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6765, allocations: 0 / 1.229 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.6766, allocations: 8 kB / 1.229 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6766, allocations: 4 kB / 1.229 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6766, allocations: 0 / 1.229 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.677, allocations: 259.2 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.649e-05/0.6771, allocations: 109.1 kB / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.6771, allocations: 0 / 1.229 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.6772, allocations: 15.92 kB / 1.229 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.6773, allocations: 8 kB / 1.229 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.6773, allocations: 4 kB / 1.229 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003134/0.6776, allocations: 283.1 kB / 1.229 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.114e-06/0.6776, allocations: 0 / 1.229 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002862/0.6779, allocations: 47.83 kB / 1.229 GB, free: 8.293 MB / 0.9512 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.0007393/0.6787, allocations: 0.7904 MB / 1.23 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.6789, allocations: 71.91 kB / 1.23 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6789, allocations: 0 / 1.23 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.679, allocations: 39.92 kB / 1.23 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.6794, allocations: 21.55 kB / 1.23 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.6829, allocations: 2.729 MB / 1.233 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.6834, allocations: 0.7942 MB / 1.234 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.518e-05/0.6834, allocations: 16.64 kB / 1.234 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.6836, allocations: 95.41 kB / 1.234 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of SimCode: time 2.61e-07/0.6836, allocations: 0 / 1.234 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.7118, allocations: 4.955 MB / 1.239 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.72, allocations: 11.84 kB / 1.239 GB, free: 14.78 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches