Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002015/0.002015, allocations: 190.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.03/3.03, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: 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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 63.88 kB / 1.11 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23/1.232, allocations: 168.8 MB / 1.274 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005237/1.238, allocations: 2.472 MB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001147/1.239, allocations: 0.5469 MB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/1.239, allocations: 4 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/1.239, allocations: 115.5 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/1.24, allocations: 99.2 kB / 1.278 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/1.24, allocations: 39.97 kB / 1.278 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000351/1.24, allocations: 242.7 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/1.24, allocations: 87.52 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/1.24, allocations: 83.67 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/1.241, allocations: 103.5 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/1.241, allocations: 16 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/1.241, allocations: 23.94 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/1.241, allocations: 79.69 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/1.241, allocations: 159 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004788/1.241, allocations: 345.1 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.241, allocations: 0 / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/1.241, allocations: 0 / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.241, allocations: 0 / 1.279 GB, free: 15.79 MB / 0.9825 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.001078/1.243, allocations: 0.5818 MB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.243, allocations: 12.03 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.801e-05/1.243, allocations: 44.66 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/1.243, allocations: 248.7 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.243, allocations: 16.38 kB / 1.28 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/1.243, allocations: 16.36 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/1.244, allocations: 145.9 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/1.244, allocations: 192 / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/1.244, allocations: 7.938 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.244, allocations: 4 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/1.244, allocations: 95.94 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/1.245, allocations: 0.5538 MB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/1.245, allocations: 78.62 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/1.246, allocations: 44.88 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/1.246, allocations: 7.938 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.246, allocations: 34.56 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/1.246, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004306/1.246, allocations: 145.4 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/1.246, allocations: 59.34 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/1.247, allocations: 390 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/1.247, allocations: 26.08 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/1.247, allocations: 220.2 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/1.247, allocations: 27.75 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/1.247, allocations: 33.66 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000273/1.247, allocations: 358.7 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/1.247, allocations: 27.98 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/1.247, allocations: 51.42 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/1.248, allocations: 91.36 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.248, allocations: 0 / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003127/1.248, allocations: 149.3 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/1.248, allocations: 4 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.248, allocations: 0 / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/1.248, allocations: 4 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/1.248, allocations: 27.92 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.248, allocations: 0 / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/1.248, allocations: 12.09 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/1.248, allocations: 4 kB / 1.282 GB, free: 12.11 MB / 0.9825 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.0002139/1.249, allocations: 169.7 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/1.249, allocations: 35.77 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/1.249, allocations: 39.22 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/1.249, allocations: 0 / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.249, allocations: 0 / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.249, allocations: 0 / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/1.249, allocations: 284.5 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.249, allocations: 11.94 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/1.249, allocations: 19.98 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/1.249, allocations: 4 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.249, allocations: 0 / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.249, allocations: 0 / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.249, allocations: 4 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/1.25, allocations: 263.2 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/1.25, allocations: 35.86 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/1.25, allocations: 7.984 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.974e-05/1.25, allocations: 0 / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/1.25, allocations: 15.92 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.25, allocations: 0 / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003003/1.25, allocations: 279.1 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.25, allocations: 0 / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002925/1.251, allocations: 47.83 kB / 1.283 GB, free: 10.85 MB / 0.9825 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.000153/1.251, allocations: 103.2 kB / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002487/1.251, allocations: 71.91 kB / 1.283 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.251, allocations: 0 / 1.283 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/1.251, allocations: 35.92 kB / 1.283 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/1.251, allocations: 27.61 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/1.253, allocations: 0.6691 MB / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/1.253, allocations: 0.7986 MB / 1.285 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.077e-05/1.254, allocations: 12.64 kB / 1.285 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/1.254, allocations: 15.44 kB / 1.285 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/1.254, allocations: 0 / 1.285 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of Templates: time 0.006235/1.26, allocations: 1.339 MB / 1.286 GB, free: 7.73 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.306346631608903]