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.001715/0.001715, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00212/0.00212, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.654/1.654, allocations: 230.6 MB / 256 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.743/3.743, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 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.00241/0.00241, allocations: 68.17 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4992, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004975/0.5042, allocations: 2.142 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.5075, allocations: 1.437 MB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.5078, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008145/0.5086, allocations: 179.1 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007054/0.5093, allocations: 171.2 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.5097, allocations: 111.6 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004784/0.5102, allocations: 243.1 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.5104, allocations: 28.58 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.5106, allocations: 103.6 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.5109, allocations: 103.4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.5109, allocations: 8 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.5111, allocations: 55.98 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.5112, allocations: 91.66 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.5114, allocations: 107.1 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.512, allocations: 366.2 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.512, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.512, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.512, allocations: 4 kB / 1.331 GB, free: 12.68 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.001299/0.5133, allocations: 0.6319 MB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5134, allocations: 8.031 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.5135, allocations: 48.66 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006268/0.5142, allocations: 290.9 kB / 1.331 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.5142, allocations: 8.375 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.5142, allocations: 7.938 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002842/0.5145, allocations: 107.3 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5145, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.5145, allocations: 4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5145, allocations: 3.938 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.5147, allocations: 43.91 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.5155, allocations: 392.3 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.5158, allocations: 70.59 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.5158, allocations: 24.84 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.5159, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.5161, allocations: 117.1 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.5161, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004352/0.5165, allocations: 157.3 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.5166, allocations: 51.41 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007355/0.5173, allocations: 0.5418 MB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.5173, allocations: 33.7 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.5175, allocations: 220 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.5176, allocations: 19.89 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.5177, allocations: 45.56 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5179, allocations: 358.8 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.518, allocations: 55.97 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.5181, allocations: 102 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.5183, allocations: 89.64 kB / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5183, allocations: 0 / 1.334 GB, free: 9.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003707/0.5187, allocations: 203.1 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.5187, allocations: 7.984 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5187, allocations: 0 / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.5187, allocations: 4 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.5189, allocations: 24 kB / 1.334 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5189, allocations: 7.922 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.519, allocations: 11.95 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.519, allocations: 8 kB / 1.334 GB, free: 8.824 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.0002162/0.5192, allocations: 185 kB / 1.334 GB, free: 8.637 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.5193, allocations: 47.66 kB / 1.334 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.5196, allocations: 141.5 kB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.5196, allocations: 4 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5196, allocations: 3.938 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5196, allocations: 4 kB / 1.334 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.5199, allocations: 237.1 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5199, allocations: 0 / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.312e-05/0.52, allocations: 4 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.52, allocations: 0 / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.52, allocations: 4 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.52, allocations: 3.938 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.52, allocations: 4.25 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.5203, allocations: 176.7 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.5203, allocations: 35.72 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.5204, allocations: 16 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.5205, allocations: 7.984 kB / 1.335 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.5205, allocations: 7.984 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.5205, allocations: 3.938 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004383/0.521, allocations: 374.8 kB / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.521, allocations: 0 / 1.335 GB, free: 7.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002687/0.5212, allocations: 43.94 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001729/0.523, allocations: 444.9 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.5233, allocations: 103.9 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5233, allocations: 0 / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.5234, allocations: 27.92 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.5239, allocations: 59.77 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.525, allocations: 0.6638 MB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.5253, allocations: 209.4 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.595e-05/0.5254, allocations: 33.77 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.5255, allocations: 27.38 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of SimCode: time 4.1e-07/0.5255, allocations: 0 / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of Templates: time 0.008703/0.5342, allocations: 3.394 MB / 1.34 GB, free: 2.723 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/jenkins/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.553720185533166]