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.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.001756/0.001757, allocations: 115.8 kB / 17.08 MB, free: 5.988 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.002095/0.002095, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.479/1.479, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.99/2.99, allocations: 489.3 MB / 0.7687 GB, free: 3.98 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001974/0.001974, allocations: 71.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9705/0.9725, allocations: 163.8 MB / 1.263 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003642/0.9762, allocations: 2.456 MB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.977, allocations: 0.5359 MB / 1.266 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.9771, allocations: 2.969 kB / 1.266 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004118/0.9776, allocations: 123.9 kB / 1.266 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.9777, allocations: 89.73 kB / 1.266 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.9779, allocations: 47.25 kB / 1.266 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.9781, allocations: 244.1 kB / 1.266 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.9783, allocations: 107.2 kB / 1.266 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.9785, allocations: 86.97 kB / 1.266 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.9786, allocations: 102 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.9787, allocations: 18.09 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.9787, allocations: 18.5 kB / 1.266 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.9788, allocations: 80.72 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.979, allocations: 152.5 kB / 1.267 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.9794, allocations: 344.6 kB / 1.267 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9794, allocations: 0.5625 kB / 1.267 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9794, allocations: 0.8438 kB / 1.267 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.9794, allocations: 4 kB / 1.267 GB, free: 5.387 MB / 0.9981 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.0008102/0.9802, allocations: 0.6533 MB / 1.268 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.9803, allocations: 9.156 kB / 1.268 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.9804, allocations: 49.61 kB / 1.268 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.9807, allocations: 308.8 kB / 1.268 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.9807, allocations: 18.03 kB / 1.268 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.9808, allocations: 17.59 kB / 1.268 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.9811, allocations: 140.9 kB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.9811, allocations: 192 / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.9811, allocations: 9.875 kB / 1.268 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.9811, allocations: 3.531 kB / 1.268 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.9814, allocations: 94.48 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008329/0.9822, allocations: 0.5891 MB / 1.269 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.9825, allocations: 89.83 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.9826, allocations: 47.75 kB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.9826, allocations: 1.719 kB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.9826, allocations: 36.19 kB / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.9827, allocations: 0 / 1.269 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003801/0.983, allocations: 147.2 kB / 1.269 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.9831, allocations: 52.75 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.9835, allocations: 389.8 kB / 1.269 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.9836, allocations: 26.39 kB / 1.269 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.9837, allocations: 216.9 kB / 1.27 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.9837, allocations: 39.03 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.9838, allocations: 31.61 kB / 1.27 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.9839, allocations: 351.1 kB / 1.27 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.9839, allocations: 25.97 kB / 1.27 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.984, allocations: 54.56 kB / 1.27 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.9842, allocations: 93.08 kB / 1.27 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9842, allocations: 0.9062 kB / 1.27 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002366/0.9845, allocations: 150.9 kB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9845, allocations: 5.719 kB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.9845, allocations: 0.9062 kB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.9845, allocations: 2.922 kB / 1.27 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.9846, allocations: 27.05 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.9846, allocations: 0.875 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.9847, allocations: 3.938 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.9847, allocations: 12.19 kB / 1.27 GB, free: 2.699 MB / 0.9981 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.0001276/0.9849, allocations: 165.8 kB / 1.271 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.9849, allocations: 39.27 kB / 1.271 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.148e-05/0.985, allocations: 40.08 kB / 1.271 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.985, allocations: 4.906 kB / 1.271 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.985, allocations: 4 kB / 1.271 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.985, allocations: 1.516 kB / 1.271 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.9854, allocations: 317 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9854, allocations: 0.7812 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.9855, allocations: 17.67 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9855, allocations: 0.625 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.9855, allocations: 2.219 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9855, allocations: 0.8125 kB / 1.271 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9855, allocations: 3.984 kB / 1.271 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.9859, allocations: 265.3 kB / 1.271 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.9859, allocations: 113.2 kB / 1.271 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.986, allocations: 0.7188 kB / 1.271 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.9861, allocations: 7.484 kB / 1.271 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.9861, allocations: 5.078 kB / 1.271 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.9861, allocations: 5.469 kB / 1.271 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000279/0.9864, allocations: 281.4 kB / 1.272 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9864, allocations: 0.9062 kB / 1.272 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002786/0.9867, allocations: 50.45 kB / 1.272 GB, free: 1.777 MB / 0.9981 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.0001065/0.9868, allocations: 101.9 kB / 1.272 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.987, allocations: 72.94 kB / 1.272 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9871, allocations: 0 / 1.272 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.9871, allocations: 36.61 kB / 1.272 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.9875, allocations: 27.19 kB / 1.272 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.9886, allocations: 0.7068 MB / 1.273 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.9889, allocations: 0.8005 MB / 1.273 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.9889, allocations: 14.72 kB / 1.273 GB, free: 496 kB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.989, allocations: 0 / 1.273 GB, free: 496 kB / 0.9981 GB Notification: Performance of Templates: time 0.005877/0.9948, allocations: 2.98 MB / 1.276 GB, free: 15.85 MB / 1.014 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 800] 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_2/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.792788009857759]