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.001239/0.001239, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.001185/0.001185, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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.314/2.314, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 0.8689 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5477/0.5489, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003466/0.5524, allocations: 2.499 MB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.5533, allocations: 0.5238 MB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.5534, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.5538, allocations: 130 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.5539, allocations: 79.47 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.5541, allocations: 35.98 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.5543, allocations: 254.7 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.5545, allocations: 99.67 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.5546, allocations: 91.58 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.5548, allocations: 103.5 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.5548, allocations: 20 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.175e-05/0.5549, allocations: 16 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.454e-05/0.5549, allocations: 83.69 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.5551, allocations: 158.9 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.5554, allocations: 334.6 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5554, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5554, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.5554, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 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.0007566/0.5561, allocations: 0.6494 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5562, allocations: 8.031 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.5562, allocations: 50.73 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.5563, allocations: 40.47 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.5566, allocations: 310.1 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.5567, allocations: 12.38 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.5567, allocations: 12.38 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/0.557, allocations: 138 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.557, allocations: 3.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.557, allocations: 8 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.557, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.5572, allocations: 91.95 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.558, allocations: 0.5934 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.5582, allocations: 90.59 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.5583, allocations: 44.84 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.5583, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.5584, allocations: 38.56 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.5584, allocations: 4 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003094/0.5587, allocations: 141.2 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.5587, allocations: 51.41 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/0.5591, allocations: 393.9 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5591, allocations: 29.7 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5592, allocations: 220 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.5593, allocations: 35.53 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.5593, allocations: 29.66 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5594, allocations: 354.7 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.5595, allocations: 23.98 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.5596, allocations: 55.42 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.5598, allocations: 103.6 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5598, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002324/0.56, allocations: 145.1 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.56, allocations: 9.562 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5601, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.5601, allocations: 4 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.5602, allocations: 20.08 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5602, allocations: 8 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.5603, allocations: 11.98 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.5603, allocations: 7.938 kB / 1.025 GB, free: 10.27 MB / 0.7794 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.0001346/0.5604, allocations: 165.8 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.5605, allocations: 35.53 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.5605, allocations: 39.2 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5606, allocations: 0 / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5606, allocations: 8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.5606, allocations: 0 / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.5609, allocations: 309.4 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5609, allocations: 0 / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.561, allocations: 19.98 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.561, allocations: 0 / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.561, allocations: 4 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.561, allocations: 0 / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.561, allocations: 0 / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.5613, allocations: 263 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.5614, allocations: 112.6 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.5615, allocations: 8 kB / 1.026 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5616, allocations: 3.984 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.5616, allocations: 4 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.5616, allocations: 0 / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002434/0.5619, allocations: 287.1 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5619, allocations: 0 / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002564/0.5621, allocations: 51.91 kB / 1.026 GB, free: 8.891 MB / 0.7794 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.0005587/0.5627, allocations: 0.7862 MB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.5629, allocations: 80.03 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5629, allocations: 4.062 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.321e-05/0.563, allocations: 31.98 kB / 1.027 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.5633, allocations: 33.48 kB / 1.027 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.5661, allocations: 2.821 MB / 1.03 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.5665, allocations: 0.7953 MB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.36e-05/0.5666, allocations: 16.64 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.5667, allocations: 95.41 kB / 1.031 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5667, allocations: 4 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.87/1.437, allocations: 4.754 MB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.437, allocations: 220.8 kB / 1.035 GB, free: 15.23 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/3.125, allocations: 3.25 kB / 1.035 GB, free: 15.23 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 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.mat","/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