Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.001423/0.001423, 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.001669/0.001669, 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.454/3.454, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [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.002057/0.002057, allocations: 73.11 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4957, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004954/0.5007, allocations: 2.149 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.5035, allocations: 1.432 MB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.5036, allocations: 3.938 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006999/0.5043, allocations: 187.1 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.5048, allocations: 171.2 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.5051, allocations: 115.6 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.5054, allocations: 239.1 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.5056, allocations: 28.58 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.5057, allocations: 103.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.5059, allocations: 103.5 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.506, allocations: 15.94 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.5061, allocations: 55.97 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.5062, allocations: 95.61 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.5064, allocations: 95.22 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.5069, allocations: 378.1 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5069, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5069, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.507, allocations: 0 / 1.332 GB, free: 11.82 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001159/0.5081, allocations: 0.6281 MB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.5082, allocations: 12.03 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.5083, allocations: 44.66 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.5088, allocations: 298.9 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5088, allocations: 384 / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.5088, allocations: 11.94 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.5091, allocations: 107.3 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.5091, allocations: 3.938 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.5091, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.5091, allocations: 4 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.5092, allocations: 39.97 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.51, allocations: 392.2 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.5102, allocations: 66.67 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.5103, allocations: 28.78 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.5103, allocations: 4 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.5106, allocations: 101.1 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.5106, allocations: 0 / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004054/0.511, allocations: 153.3 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.511, allocations: 55.41 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/0.5117, allocations: 0.5495 MB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.5118, allocations: 29.7 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.512, allocations: 224 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.512, allocations: 15.91 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.5121, allocations: 41.66 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002304/0.5123, allocations: 358.8 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.5124, allocations: 51.97 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.5126, allocations: 104.2 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.5128, allocations: 85.84 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5128, allocations: 3.938 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003634/0.5131, allocations: 207.4 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5132, allocations: 5.875 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5132, allocations: 256 / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5132, allocations: 4 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5133, allocations: 27.92 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5133, allocations: 4 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.5134, allocations: 19.88 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.5135, allocations: 8.031 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002206/0.5137, allocations: 183.8 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.5137, allocations: 51.69 kB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003063/0.5141, allocations: 141.5 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5141, allocations: 0 / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5141, allocations: 0 / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.5141, allocations: 47.59 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.5142, allocations: 7.984 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5143, allocations: 4 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.5143, allocations: 19.97 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002632/0.5146, allocations: 169 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003487/0.515, allocations: 318.5 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.044e-05/0.515, allocations: 28.05 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004761/0.5155, allocations: 378.8 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of Backend: time 5.61e-07/0.5155, allocations: 0 / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.5179, allocations: 0.4958 MB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of SimCode: time 0.001576/0.5194, allocations: 1.133 MB / 1.339 GB, free: 5.113 MB / 1.029 GB Notification: Performance of Templates: time 0.009156/0.5286, allocations: 3.484 MB / 1.342 GB, free: 1.676 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.203745466998953]