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.0007482/0.0007482, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001838, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009479/0.0009479, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009901/0.001938, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9328/0.9328, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08469/1.017, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.414/2.414, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2351/2.649, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.819 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.541e-05, allocations: 2.312 kB / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002971/0.002986, allocations: 2.538 MB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004663/0.007649, allocations: 0.5585 MB / 0.822 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.617e-05/0.007725, allocations: 4 kB / 0.822 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.007996, allocations: 124.4 kB / 0.8221 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.008124, allocations: 99.16 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 8.215e-05/0.008206, allocations: 39.95 kB / 0.8222 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.008423, allocations: 254.6 kB / 0.8225 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.008573, allocations: 78.23 kB / 0.8226 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.008769, allocations: 181.9 kB / 0.8227 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.008888, allocations: 71.75 kB / 0.8228 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.008921, allocations: 16 kB / 0.8228 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.163e-05/0.008953, allocations: 16 kB / 0.8228 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.009023, allocations: 75.72 kB / 0.8229 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.009093, allocations: 75.75 kB / 0.823 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.009311, allocations: 195.1 kB / 0.8232 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.009322, allocations: 0 / 0.8232 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.009323, allocations: 0 / 0.8232 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.009337, allocations: 4 kB / 0.8232 GB, free: 14.12 MB / 0.8073 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.0006502/0.009987, allocations: 0.6113 MB / 0.8238 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.01002, allocations: 8.031 kB / 0.8238 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.01008, allocations: 40.89 kB / 0.8238 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.01029, allocations: 224 kB / 0.824 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.01031, allocations: 16.36 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.01034, allocations: 16.31 kB / 0.824 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/0.01352, allocations: 118.6 kB / 0.8242 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.01353, allocations: 192 / 0.8242 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.01354, allocations: 8.375 kB / 0.8242 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.01355, allocations: 4.375 kB / 0.8242 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.01362, allocations: 37.8 kB / 0.8242 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.01407, allocations: 327.7 kB / 0.8245 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.01419, allocations: 46.5 kB / 0.8246 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.553e-05/0.01422, allocations: 28.83 kB / 0.8246 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.01423, allocations: 3.938 kB / 0.8246 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01425, allocations: 42.55 kB / 0.8246 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.01425, allocations: 0 / 0.8246 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001404/0.01439, allocations: 69.67 kB / 0.8247 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.01442, allocations: 51.41 kB / 0.8248 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.01465, allocations: 335.3 kB / 0.8251 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.01466, allocations: 25.7 kB / 0.8251 GB, free: 12 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.01474, allocations: 173.1 kB / 0.8253 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.01476, allocations: 31.73 kB / 0.8253 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.0148, allocations: 25.7 kB / 0.8253 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.01489, allocations: 350.7 kB / 0.8257 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.01491, allocations: 12 kB / 0.8257 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.01494, allocations: 39.36 kB / 0.8257 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.263e-05/0.01504, allocations: 59.28 kB / 0.8258 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01504, allocations: 0 / 0.8258 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001005/0.01514, allocations: 89.47 kB / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.01515, allocations: 5.344 kB / 0.8258 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01516, allocations: 7.984 kB / 0.8259 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.01517, allocations: 4 kB / 0.8259 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.0153, allocations: 35.98 kB / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.956e-06/0.01531, allocations: 0 / 0.8259 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.01536, allocations: 7.953 kB / 0.8259 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.01536, allocations: 0 / 0.8259 GB, free: 11.12 MB / 0.8073 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 (12): * Single equations (assignments): 12 * 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 7.408e-05/0.01543, allocations: 120.6 kB / 0.826 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.01547, allocations: 23.91 kB / 0.826 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.01551, allocations: 35.28 kB / 0.8261 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01552, allocations: 4 kB / 0.8261 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.01552, allocations: 0 / 0.8261 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01552, allocations: 4 kB / 0.8261 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.0157, allocations: 149.7 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.0157, allocations: 0 / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.01578, allocations: 19.98 kB / 0.8262 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.01582, allocations: 39.69 kB / 0.8263 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01582, allocations: 0 / 0.8263 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.01583, allocations: 0 / 0.8263 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01583, allocations: 0 / 0.8263 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.01583, allocations: 0 / 0.8263 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.01597, allocations: 187.4 kB / 0.8265 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.01599, allocations: 11.94 kB / 0.8265 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.01606, allocations: 3.984 kB / 0.8265 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.01608, allocations: 0 / 0.8265 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01609, allocations: 4 kB / 0.8265 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003124/0.01921, allocations: 140.7 kB / 0.8266 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01921, allocations: 0 / 0.8266 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002123/0.01942, allocations: 47.84 kB / 0.8267 GB, free: 10.3 MB / 0.8073 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 (8): * Single equations (assignments): 8 * 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 7.104e-05/0.0195, allocations: 76.45 kB / 0.8267 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.01958, allocations: 56.7 kB / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.01959, allocations: 4 kB / 0.8268 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.567e-05/0.01963, allocations: 28.84 kB / 0.8268 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.01989, allocations: 203.9 kB / 0.827 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.0225, allocations: 0.6058 MB / 0.8276 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.184e-05/0.02257, allocations: 107.3 kB / 0.8277 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.492e-05/0.02262, allocations: 8.656 kB / 0.8277 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.02269, allocations: 71.36 kB / 0.8278 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of SimCode: time 5.51e-07/0.02269, allocations: 0 / 0.8278 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of Templates: time 0.003918/0.02661, allocations: 1.201 MB / 0.829 GB, free: 7.883 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.193280566483736]