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.0008717/0.0008717, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008847/0.0008847, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.875/0.875, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.766/1.766, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.079e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003349/0.00337, allocations: 2.349 MB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.004246, allocations: 0.5003 MB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.004349, allocations: 4 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.004704, allocations: 120.4 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.004824, allocations: 99.14 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.004935, allocations: 47.94 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.00514, allocations: 254.5 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.005335, allocations: 75.66 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.005491, allocations: 131.8 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.005592, allocations: 75.73 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.005625, allocations: 20 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.639e-05/0.005651, allocations: 20 kB / 1.003 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.005724, allocations: 79.69 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.005786, allocations: 87.72 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.006047, allocations: 334.7 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.006051, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.693e-06/0.006052, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.006057, allocations: 0 / 1.004 GB, free: 9.305 MB / 0.9636 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.0006386/0.006696, allocations: 0.5818 MB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.006737, allocations: 8.75 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.006779, allocations: 50.73 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.006833, allocations: 44.66 kB / 1.004 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.007119, allocations: 247.9 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.007134, allocations: 8.375 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.007161, allocations: 16.38 kB / 1.005 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.007367, allocations: 145.9 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.007378, allocations: 192 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.00739, allocations: 4.375 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.007397, allocations: 12.11 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.007543, allocations: 91.95 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.00813, allocations: 0.5148 MB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.008334, allocations: 90.59 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.008395, allocations: 40.84 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.008405, allocations: 0 / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.008425, allocations: 42.56 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.008426, allocations: 0 / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002348/0.008661, allocations: 141.7 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.008692, allocations: 51.41 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.008955, allocations: 394 kB / 1.006 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.008968, allocations: 33.64 kB / 1.006 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.009078, allocations: 220.3 kB / 1.006 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.0091, allocations: 31.7 kB / 1.006 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.009142, allocations: 33.64 kB / 1.006 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.009241, allocations: 358.7 kB / 1.007 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.009291, allocations: 23.98 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.009352, allocations: 59.42 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.009454, allocations: 83.36 kB / 1.007 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.009457, allocations: 8 kB / 1.007 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/0.009609, allocations: 145.3 kB / 1.007 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.009622, allocations: 4 kB / 1.007 GB, free: 5.637 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.009628, allocations: 4 kB / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.009644, allocations: 0 / 1.007 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.009726, allocations: 27.98 kB / 1.007 GB, free: 5.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.009731, allocations: 3.984 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.009772, allocations: 11.89 kB / 1.007 GB, free: 5.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.009779, allocations: 8.094 kB / 1.007 GB, free: 5.582 MB / 0.9636 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.0001172/0.009896, allocations: 173.7 kB / 1.007 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.009926, allocations: 35.77 kB / 1.007 GB, free: 5.367 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.009974, allocations: 35.28 kB / 1.007 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.009977, allocations: 4 kB / 1.007 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.009983, allocations: 0 / 1.007 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.009986, allocations: 0 / 1.007 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.01022, allocations: 272.6 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01022, allocations: 0 / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.0103, allocations: 19.98 kB / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.0103, allocations: 4.094 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.01031, allocations: 3.938 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.01031, allocations: 0 / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01031, allocations: 0 / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.01055, allocations: 259.2 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.0106, allocations: 39.78 kB / 1.008 GB, free: 4.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.01061, allocations: 3.938 kB / 1.008 GB, free: 4.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.01066, allocations: 4 kB / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.01069, allocations: 7.984 kB / 1.008 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.0107, allocations: 8.062 kB / 1.008 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001811/0.01088, allocations: 275.1 kB / 1.008 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01088, allocations: 0 / 1.008 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001854/0.01106, allocations: 47.89 kB / 1.008 GB, free: 4.352 MB / 0.9636 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.0004117/0.01148, allocations: 0.7902 MB / 1.009 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.01162, allocations: 67.91 kB / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01162, allocations: 0 / 1.009 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.01167, allocations: 40.55 kB / 1.009 GB, free: 3.43 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.01198, allocations: 37.7 kB / 1.009 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.01415, allocations: 2.675 MB / 1.012 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.01428, allocations: 199 kB / 1.012 GB, free: 412 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.093e-05/0.01433, allocations: 12.64 kB / 1.012 GB, free: 400 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01443, allocations: 100.5 kB / 1.012 GB, free: 300 kB / 0.9636 GB Notification: Performance of SimCode: time 8.92e-07/0.01443, allocations: 0 / 1.012 GB, free: 300 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.03413, allocations: 5.616 MB / 1.018 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.955/6.989, allocations: 6.016 kB / 1.018 GB, free: 10.84 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 11.043851910158992]