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.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.000756/0.000756, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007745/0.0007745, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8981/0.8981, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.681/1.681, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.423e-06/1.423e-06, allocations: 3.938 kB / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.769e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002576/0.002604, allocations: 2.361 MB / 0.9541 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.003282, allocations: 0.512 MB / 0.9546 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.00336, allocations: 4 kB / 0.9546 GB, free: 92 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.003671, allocations: 119.2 kB / 0.9547 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.003777, allocations: 91.17 kB / 0.9548 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.003882, allocations: 47.94 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.004068, allocations: 254.5 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.004218, allocations: 75.61 kB / 0.9551 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.004355, allocations: 135.7 kB / 0.9552 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.886e-05/0.004454, allocations: 67.73 kB / 0.9553 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.004488, allocations: 20 kB / 0.9553 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 2.362e-05/0.004512, allocations: 20 kB / 0.9554 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.004587, allocations: 83.69 kB / 0.9554 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.00465, allocations: 95.64 kB / 0.9555 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.004895, allocations: 322.9 kB / 0.9558 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004897, allocations: 0 / 0.9558 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004898, allocations: 4 kB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.004903, allocations: 0 / 0.9558 GB, free: 14.77 MB / 0.9167 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.0006151/0.005518, allocations: 0.5834 MB / 0.9564 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.005559, allocations: 8.031 kB / 0.9564 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.648e-05/0.005615, allocations: 48.66 kB / 0.9565 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.005883, allocations: 239.9 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.005898, allocations: 8.375 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.005926, allocations: 24.38 kB / 0.9567 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.006113, allocations: 139.8 kB / 0.9568 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.006125, allocations: 192 / 0.9569 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.006139, allocations: 12.31 kB / 0.9569 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006145, allocations: 4.375 kB / 0.9569 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.006289, allocations: 95.83 kB / 0.957 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.006826, allocations: 499.6 kB / 0.9574 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.007015, allocations: 86.55 kB / 0.9575 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.007075, allocations: 44.89 kB / 0.9576 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.007086, allocations: 0 / 0.9576 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.007103, allocations: 34.56 kB / 0.9576 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 6.31e-07/0.007103, allocations: 0 / 0.9576 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0002335/0.007337, allocations: 145.4 kB / 0.9577 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.007367, allocations: 55.39 kB / 0.9578 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.007624, allocations: 389.8 kB / 0.9582 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.007637, allocations: 38.08 kB / 0.9582 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.007743, allocations: 216.2 kB / 0.9584 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.007762, allocations: 31.73 kB / 0.9584 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.007797, allocations: 29.67 kB / 0.9585 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.007883, allocations: 354.7 kB / 0.9588 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.007926, allocations: 23.98 kB / 0.9588 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.792e-05/0.007984, allocations: 55.42 kB / 0.9589 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.008086, allocations: 91.36 kB / 0.959 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008087, allocations: 0 / 0.959 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001481/0.008236, allocations: 153.2 kB / 0.9591 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.008249, allocations: 4 kB / 0.9591 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.008254, allocations: 4 kB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.008266, allocations: 0 / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.454e-05/0.00833, allocations: 27.97 kB / 0.9591 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.008336, allocations: 4 kB / 0.9591 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.008374, allocations: 12.08 kB / 0.9592 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.008381, allocations: 7.938 kB / 0.9592 GB, free: 11.16 MB / 0.9167 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.0001008/0.008481, allocations: 161.8 kB / 0.9593 GB, free: 11 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.008509, allocations: 39.7 kB / 0.9594 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.008548, allocations: 35.28 kB / 0.9594 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.008551, allocations: 4 kB / 0.9594 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.008555, allocations: 0 / 0.9594 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.008558, allocations: 7.922 kB / 0.9594 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.008731, allocations: 237.1 kB / 0.9596 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.008731, allocations: 0 / 0.9596 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.008796, allocations: 31.92 kB / 0.9597 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.008797, allocations: 0 / 0.9597 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.008805, allocations: 0 / 0.9597 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.008806, allocations: 4 kB / 0.9597 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.008807, allocations: 3.938 kB / 0.9597 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.009022, allocations: 255.2 kB / 0.9599 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.009063, allocations: 35.73 kB / 0.9599 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.009079, allocations: 4 kB / 0.9599 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.009126, allocations: 4 kB / 0.9599 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.009156, allocations: 8.047 kB / 0.96 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.00916, allocations: 8 kB / 0.96 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001721/0.009332, allocations: 279.1 kB / 0.9602 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009332, allocations: 0 / 0.9602 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001805/0.009512, allocations: 43.89 kB / 0.9603 GB, free: 9.973 MB / 0.9167 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 7.186e-05/0.009584, allocations: 99.19 kB / 0.9604 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.009719, allocations: 67.91 kB / 0.9604 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009721, allocations: 0 / 0.9604 GB, free: 9.801 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.322e-05/0.009764, allocations: 40.11 kB / 0.9605 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.009997, allocations: 25.64 kB / 0.9605 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.01072, allocations: 0.6595 MB / 0.9611 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.01083, allocations: 191.5 kB / 0.9613 GB, free: 8.836 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.01086, allocations: 16.5 kB / 0.9613 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of SimCode: time 3.8e-07/0.01086, allocations: 4 kB / 0.9613 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of Templates: time 0.003248/0.01411, allocations: 3.175 MB / 0.9644 GB, free: 5.66 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.70934493560344]