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.001555/0.001555, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001796/0.001796, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.684/1.684, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.978/2.978, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.783e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.005117/0.005155, allocations: 2.163 MB / 0.9836 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.00836, allocations: 1.431 MB / 0.985 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.008605, allocations: 4 kB / 0.985 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/0.009447, allocations: 183 kB / 0.9851 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006871/0.01013, allocations: 171.1 kB / 0.9853 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.01061, allocations: 111.5 kB / 0.9854 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.01112, allocations: 254.9 kB / 0.9856 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.01131, allocations: 36.5 kB / 0.9857 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.01162, allocations: 123.7 kB / 0.9858 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.01184, allocations: 91.72 kB / 0.9859 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.658e-05/0.01189, allocations: 12 kB / 0.9859 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.01207, allocations: 51.86 kB / 0.986 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.01222, allocations: 103.6 kB / 0.986 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.01235, allocations: 63.67 kB / 0.9861 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006391/0.01299, allocations: 354.7 kB / 0.9864 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.01299, allocations: 0 / 0.9864 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01299, allocations: 0 / 0.9864 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.013, allocations: 0 / 0.9864 GB, free: 6.805 MB / 0.9356 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.001524/0.01453, allocations: 0.6242 MB / 0.9871 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.01459, allocations: 8.031 kB / 0.9871 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.01474, allocations: 48.61 kB / 0.9871 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000658/0.0154, allocations: 298.2 kB / 0.9874 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.01542, allocations: 8.375 kB / 0.9874 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.01545, allocations: 8.312 kB / 0.9874 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.0157, allocations: 107.7 kB / 0.9875 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.01571, allocations: 0 / 0.9875 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.01573, allocations: 0 / 0.9875 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.01573, allocations: 0 / 0.9875 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.01587, allocations: 47.91 kB / 0.9876 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.01678, allocations: 392.3 kB / 0.9879 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.01701, allocations: 70.61 kB / 0.988 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.01708, allocations: 20.86 kB / 0.988 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.01709, allocations: 0 / 0.988 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.01731, allocations: 105.1 kB / 0.9881 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.01731, allocations: 0 / 0.9881 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004521/0.01776, allocations: 153.3 kB / 0.9883 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.01781, allocations: 55.41 kB / 0.9883 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007491/0.01856, allocations: 0.5495 MB / 0.9889 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.01859, allocations: 29.64 kB / 0.9889 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.01882, allocations: 224 kB / 0.9891 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.01884, allocations: 15.91 kB / 0.9891 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/0.01894, allocations: 41.7 kB / 0.9892 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.01914, allocations: 362.7 kB / 0.9895 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.01926, allocations: 48.09 kB / 0.9895 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.01941, allocations: 112.1 kB / 0.9897 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.01962, allocations: 104.5 kB / 0.9898 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01962, allocations: 0 / 0.9898 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004082/0.02003, allocations: 197.3 kB / 0.9899 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.02006, allocations: 8 kB / 0.9899 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02006, allocations: 0 / 0.9899 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.02009, allocations: 0 / 0.9899 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.02023, allocations: 27.92 kB / 0.99 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.02024, allocations: 0 / 0.99 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.02039, allocations: 15.92 kB / 0.99 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.02042, allocations: 12.03 kB / 0.99 GB, free: 2.949 MB / 0.9356 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.0002517/0.02067, allocations: 177.7 kB / 0.9902 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.02075, allocations: 43.72 kB / 0.9902 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.02109, allocations: 157.5 kB / 0.9904 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.0211, allocations: 0 / 0.9904 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.0211, allocations: 0 / 0.9904 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.0211, allocations: 0 / 0.9904 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.02141, allocations: 233.1 kB / 0.9906 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02141, allocations: 0 / 0.9906 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.02144, allocations: 12 kB / 0.9906 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.02145, allocations: 256 / 0.9906 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.02147, allocations: 7.984 kB / 0.9906 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.02147, allocations: 4 kB / 0.9906 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.02147, allocations: 0 / 0.9906 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.02178, allocations: 160.7 kB / 0.9908 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.515e-05/0.02186, allocations: 43.7 kB / 0.9908 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.02191, allocations: 0 / 0.9908 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.02199, allocations: 4 kB / 0.9908 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.02206, allocations: 15.97 kB / 0.9908 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.02208, allocations: 8 kB / 0.9908 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004682/0.02255, allocations: 366.8 kB / 0.9912 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02255, allocations: 0 / 0.9912 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003241/0.02287, allocations: 55.88 kB / 0.9912 GB, free: 1.625 MB / 0.9356 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.001838/0.02471, allocations: 447.6 kB / 0.9917 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.025, allocations: 95.89 kB / 0.9918 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02501, allocations: 0 / 0.9918 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.0251, allocations: 27.98 kB / 0.9918 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.02553, allocations: 72.97 kB / 0.9918 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.02682, allocations: 0.6418 MB / 0.9925 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.02708, allocations: 212.4 kB / 0.9927 GB, free: 288 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.02718, allocations: 21.64 kB / 0.9927 GB, free: 264 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.02726, allocations: 28.48 kB / 0.9927 GB, free: 236 kB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.02726, allocations: 0 / 0.9927 GB, free: 236 kB / 0.9356 GB Notification: Performance of Templates: time 0.009236/0.0365, allocations: 3.028 MB / 0.9957 GB, free: 13.26 MB / 0.9512 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/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: 9.10997610911727]