Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 208.2 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.309/3.309, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 62.73 kB / 1.186 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 181.9 MB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004086/0.3606, allocations: 2.364 MB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.3615, allocations: 0.5042 MB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.3616, allocations: 4 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000384/0.362, allocations: 116.4 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.3622, allocations: 99.22 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.3623, allocations: 43.94 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002946/0.3626, allocations: 238.8 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.3628, allocations: 75.59 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3629, allocations: 83.67 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.3631, allocations: 87.44 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.3631, allocations: 20 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.3632, allocations: 20 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.3633, allocations: 83.69 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3634, allocations: 123.2 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.3638, allocations: 346.4 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3638, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3638, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3638, allocations: 0 / 1.367 GB, free: 10 MB / 1.061 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.0008785/0.3647, allocations: 0.5817 MB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3648, allocations: 12.03 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.125e-05/0.3648, allocations: 50.73 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.3649, allocations: 44.66 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.3653, allocations: 244.7 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.3653, allocations: 16.36 kB / 1.368 GB, free: 8.992 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.3653, allocations: 12.38 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.3656, allocations: 141.7 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3656, allocations: 7.891 kB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3657, allocations: 4 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3657, allocations: 4 kB / 1.369 GB, free: 8.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.3659, allocations: 99.95 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.3668, allocations: 0.5148 MB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.367, allocations: 82.48 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3672, allocations: 44.95 kB / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.3672, allocations: 0 / 1.369 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.3672, allocations: 38.56 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.3672, allocations: 4 kB / 1.369 GB, free: 7.977 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003799/0.3676, allocations: 149.6 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3676, allocations: 55.41 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/0.3681, allocations: 394 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3681, allocations: 29.64 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3683, allocations: 212.2 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.3683, allocations: 35.69 kB / 1.37 GB, free: 7.082 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.3683, allocations: 25.72 kB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3685, allocations: 354.7 kB / 1.371 GB, free: 6.695 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.3686, allocations: 27.98 kB / 1.371 GB, free: 6.668 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.3687, allocations: 59.36 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.3689, allocations: 91.36 kB / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3689, allocations: 0 / 1.371 GB, free: 6.496 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002667/0.3692, allocations: 149.3 kB / 1.371 GB, free: 6.344 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3692, allocations: 16.08 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3692, allocations: 0 / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3692, allocations: 0 / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3693, allocations: 20 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3693, allocations: 7.984 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.3694, allocations: 4 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3694, allocations: 7.938 kB / 1.371 GB, free: 6.289 MB / 1.061 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.0001639/0.3696, allocations: 162.4 kB / 1.371 GB, free: 6.121 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.3697, allocations: 35.77 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3698, allocations: 43.2 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3698, allocations: 4 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3698, allocations: 0 / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3698, allocations: 3.984 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.3701, allocations: 280.5 kB / 1.371 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3701, allocations: 0 / 1.371 GB, free: 5.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.3703, allocations: 19.98 kB / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3703, allocations: 96 / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3703, allocations: 11.88 kB / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3703, allocations: 0 / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3703, allocations: 0 / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.3707, allocations: 263.2 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.3708, allocations: 31.8 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.3708, allocations: 8 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3709, allocations: 3.984 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.3709, allocations: 7.938 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3709, allocations: 0 / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003114/0.3712, allocations: 287.1 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3712, allocations: 0 / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000277/0.3715, allocations: 39.89 kB / 1.372 GB, free: 5.043 MB / 1.061 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.0006987/0.3722, allocations: 0.7904 MB / 1.373 GB, free: 4.227 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.3724, allocations: 67.91 kB / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3724, allocations: 384 / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.3725, allocations: 39.86 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.3729, allocations: 35.52 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.3764, allocations: 2.71 MB / 1.376 GB, free: 1.277 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.3766, allocations: 198.8 kB / 1.376 GB, free: 1.059 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.716e-05/0.3767, allocations: 12.64 kB / 1.376 GB, free: 1.047 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.3768, allocations: 99.41 kB / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.3768, allocations: 0 / 1.376 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.4134, allocations: 5.477 MB / 1.381 GB, free: 11.64 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 6.938 kB / 1.381 GB, free: 11.63 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --stepSize=0.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.667676208075136]