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.001898/0.001898, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002436/0.002436, allocations: 222.9 kB / 23 MB, free: 4.91 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.292/3.292, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 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.00334/0.00334, allocations: 67.62 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.411, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004675/0.4157, allocations: 2.164 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.4183, allocations: 1.428 MB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.4184, allocations: 3.938 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006352/0.419, allocations: 183.1 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.4195, allocations: 175.2 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.4198, allocations: 115.6 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.4201, allocations: 235.1 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.4203, allocations: 28.58 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.4205, allocations: 103.5 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.4206, allocations: 95.48 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.4207, allocations: 12 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.4208, allocations: 67.89 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4209, allocations: 91.61 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.4211, allocations: 103.2 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.4215, allocations: 370.2 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4216, allocations: 0 / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4216, allocations: 3.938 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.4216, allocations: 4 kB / 1.331 GB, free: 12.71 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.00107/0.4226, allocations: 0.6203 MB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4227, allocations: 8.031 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.46e-05/0.4228, allocations: 44.66 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.4232, allocations: 302.8 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.4233, allocations: 8.375 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.4233, allocations: 11.94 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.4235, allocations: 103.3 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.4235, allocations: 4 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4235, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4235, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.4237, allocations: 39.97 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.4244, allocations: 388.2 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.4246, allocations: 66.67 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.4247, allocations: 32.83 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.4247, allocations: 3.938 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.4249, allocations: 109 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4249, allocations: 0 / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003765/0.4253, allocations: 145.4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.4253, allocations: 55.41 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.426, allocations: 0.5457 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.426, allocations: 29.7 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.4262, allocations: 231.8 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.4262, allocations: 19.91 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.4263, allocations: 41.7 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4265, allocations: 358.8 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.4266, allocations: 51.97 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.4267, allocations: 104.2 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.4269, allocations: 85.7 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4269, allocations: 256 / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003336/0.4272, allocations: 203.5 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4273, allocations: 17.56 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.4273, allocations: 4 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.4273, allocations: 3.938 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4274, allocations: 27.92 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.4274, allocations: 3.938 kB / 1.335 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.4275, allocations: 19.94 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.4276, allocations: 4 kB / 1.335 GB, free: 8.859 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.000194/0.4278, allocations: 174.3 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.524e-05/0.4278, allocations: 47.7 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.4281, allocations: 145.5 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4281, allocations: 0 / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4281, allocations: 3.938 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4281, allocations: 0 / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.4284, allocations: 237.1 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4284, allocations: 0 / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.4284, allocations: 15.98 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4284, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4284, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.4284, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4284, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.4287, allocations: 168.7 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.4288, allocations: 39.7 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.4288, allocations: 7.938 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.4289, allocations: 4 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.429, allocations: 11.97 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.429, allocations: 7.938 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004294/0.4294, allocations: 370.8 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4294, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002692/0.4297, allocations: 47.92 kB / 1.336 GB, free: 7.539 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.001719/0.4314, allocations: 454.1 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.4317, allocations: 91.89 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4317, allocations: 4 kB / 1.337 GB, free: 7.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.4317, allocations: 27.98 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4321, allocations: 62.95 kB / 1.337 GB, free: 7.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.4332, allocations: 0.7122 MB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.4335, allocations: 213.4 kB / 1.338 GB, free: 6.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.4336, allocations: 27.42 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4336, allocations: 0 / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of Templates: time 0.007332/0.4409, allocations: 4.408 MB / 1.342 GB, free: 1.707 MB / 1.029 GB " [Timeout remaining time 300] 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: 12.400487239006907]