Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001697/0.001697, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001572/0.001572, allocations: 209.3 kB / 23 MB, free: 4.93 MB / 14.72 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 1.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.425/3.425, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003006/0.003006, allocations: 68.03 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.5004, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004575/0.505, allocations: 2.367 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.5061, allocations: 0.5081 MB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.5062, allocations: 8 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004412/0.5066, allocations: 123.5 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.5068, allocations: 87.28 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.5069, allocations: 43.95 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003056/0.5072, allocations: 242.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.5075, allocations: 76.14 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.5076, allocations: 91.59 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.5078, allocations: 103.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.5078, allocations: 20 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.788e-05/0.5079, allocations: 16 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.508, allocations: 83.69 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.5081, allocations: 111.2 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.5085, allocations: 354.2 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.5085, allocations: 3.984 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5085, allocations: 0 / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.5085, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 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.0009695/0.5095, allocations: 0.5857 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.5095, allocations: 12.02 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.5096, allocations: 44.66 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.51, allocations: 240.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.51, allocations: 16.38 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.5101, allocations: 12.38 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.5104, allocations: 146.3 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5104, allocations: 192 / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.5104, allocations: 11.94 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.5104, allocations: 8 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.5106, allocations: 87.95 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.5115, allocations: 495.5 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.5118, allocations: 82.48 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.5119, allocations: 44.95 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.5119, allocations: 8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5119, allocations: 30.56 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.5119, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0003991/0.5123, allocations: 145.4 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5124, allocations: 59.39 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.5128, allocations: 389.9 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5128, allocations: 29.64 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.513, allocations: 220.2 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.5131, allocations: 31.73 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.495e-05/0.5131, allocations: 25.72 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5133, allocations: 354.7 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.5134, allocations: 31.92 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.5135, allocations: 51.42 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.5137, allocations: 99.67 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5137, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002755/0.514, allocations: 153.3 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.514, allocations: 5.406 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.514, allocations: 0 / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.514, allocations: 4 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.5141, allocations: 27.98 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.5141, allocations: 3.984 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.693e-05/0.5142, allocations: 11.94 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.5142, allocations: 8 kB / 1.335 GB, free: 9.117 MB / 1.029 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.0001727/0.5144, allocations: 165.7 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.5145, allocations: 39.86 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.5145, allocations: 39.22 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5145, allocations: 3.984 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5146, allocations: 0 / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.5146, allocations: 39.7 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.5147, allocations: 3.984 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5148, allocations: 7.922 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.5148, allocations: 4 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003527/0.5152, allocations: 180.9 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004456/0.5156, allocations: 338.6 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.639e-05/0.5157, allocations: 32 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003206/0.516, allocations: 283.1 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of Backend: time 5.61e-07/0.516, allocations: 0 / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004792/0.5165, allocations: 118.3 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of SimCode: time 0.00154/0.518, allocations: 1.109 MB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of Templates: time 0.006129/0.5242, allocations: 1.798 MB / 1.339 GB, free: 4.918 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.182067031004408]