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.001721/0.001721, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001654/0.001654, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.182/1.182, allocations: 222.9 MB / 239.9 MB, free: 4.445 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.233/2.233, allocations: 437.1 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 67.89 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4465/0.4481, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003127/0.4513, allocations: 2.487 MB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006757/0.4519, allocations: 0.5278 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.452, allocations: 4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.4523, allocations: 118.1 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.4525, allocations: 87.39 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.95e-05/0.4526, allocations: 43.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.4528, allocations: 242.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.453, allocations: 111.1 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.4531, allocations: 83.66 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.4532, allocations: 103.4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.4532, allocations: 20 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.24e-05/0.4533, allocations: 20 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.027e-05/0.4534, allocations: 79.69 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.4535, allocations: 159 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.4538, allocations: 338.6 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4538, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4538, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.4538, allocations: 0 / 1.021 GB, free: 14.26 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.0007228/0.4545, allocations: 0.6378 MB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4546, allocations: 12.03 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.4546, allocations: 54.67 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.4547, allocations: 40.47 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.455, allocations: 310.1 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.455, allocations: 12.38 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.4551, allocations: 16.38 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.4553, allocations: 138 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4553, allocations: 3.938 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4553, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.4554, allocations: 8 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.4556, allocations: 91.95 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000689/0.4563, allocations: 0.5934 MB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.4565, allocations: 86.53 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.166e-05/0.4566, allocations: 48.91 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.4566, allocations: 3.984 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4566, allocations: 38.56 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.4566, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003008/0.4569, allocations: 145.4 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.457, allocations: 51.41 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.4573, allocations: 390 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4573, allocations: 29.8 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.4575, allocations: 223.9 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.4575, allocations: 31.55 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.4576, allocations: 29.72 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4577, allocations: 350.7 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.4578, allocations: 27.98 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.4579, allocations: 55.36 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.458, allocations: 91.36 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.458, allocations: 4 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002147/0.4583, allocations: 149 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4583, allocations: 4 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4583, allocations: 4 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.4583, allocations: 96 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4584, allocations: 31.98 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.4584, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.4585, allocations: 15.89 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.4585, allocations: 7.938 kB / 1.025 GB, free: 10.31 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.0001309/0.4587, allocations: 162.3 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.4587, allocations: 31.62 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.4588, allocations: 43.2 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.4588, allocations: 4 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4588, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4588, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.4591, allocations: 317.3 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4591, allocations: 0 / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.4592, allocations: 23.98 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4592, allocations: 0 / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.4592, allocations: 96 / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.4592, allocations: 7.938 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4592, allocations: 4 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.4596, allocations: 251 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.4597, allocations: 116.7 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.4597, allocations: 0 / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.115e-05/0.4598, allocations: 7.984 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.4598, allocations: 0 / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.4598, allocations: 8 kB / 1.026 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002489/0.4601, allocations: 283 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4601, allocations: 8.062 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002302/0.4603, allocations: 43.84 kB / 1.026 GB, free: 8.934 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.0005747/0.4609, allocations: 0.7888 MB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.4611, allocations: 75.97 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4611, allocations: 0 / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.4612, allocations: 36.3 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4615, allocations: 35.2 kB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.4642, allocations: 2.822 MB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4646, allocations: 0.7953 MB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.745e-05/0.4647, allocations: 12.64 kB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4648, allocations: 99.41 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.4648, allocations: 0 / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.834/1.299, allocations: 4.765 MB / 1.035 GB, free: 15.53 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004297/1.299, allocations: 211.1 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/3.346, allocations: 4 kB / 1.036 GB, free: 15.27 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=400 --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