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.001365/0.001365, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001688/0.001688, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.75 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.131/3.131, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] 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.003099/0.003099, allocations: 66.23 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3673, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004259/0.3716, allocations: 2.154 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.3741, allocations: 1.435 MB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.3743, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.3749, allocations: 183.1 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.3754, allocations: 171.2 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3756, allocations: 111.6 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000334/0.376, allocations: 247.1 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.3761, allocations: 24.58 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3762, allocations: 103.5 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.3764, allocations: 99.48 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.3764, allocations: 12 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.3766, allocations: 55.95 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3767, allocations: 99.55 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3768, allocations: 99.22 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.3773, allocations: 366.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3773, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3773, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3773, allocations: 3.938 kB / 1.332 GB, free: 11.85 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.001058/0.3784, allocations: 0.6203 MB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3784, allocations: 12.03 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.796e-05/0.3785, allocations: 44.66 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.379, allocations: 298.9 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.379, allocations: 8.375 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.379, allocations: 7.938 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.3792, allocations: 107.3 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3793, allocations: 7.938 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3793, allocations: 0 / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3793, allocations: 4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.3794, allocations: 35.97 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.3801, allocations: 388.3 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.3803, allocations: 66.61 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.3803, allocations: 28.84 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.3804, allocations: 4 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.3806, allocations: 105 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3806, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000375/0.3809, allocations: 157.3 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.381, allocations: 51.41 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.3816, allocations: 0.5457 MB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3817, allocations: 33.7 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.3819, allocations: 224 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3819, allocations: 15.91 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.225e-05/0.382, allocations: 45.66 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3822, allocations: 362.8 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.3823, allocations: 51.97 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3824, allocations: 102.3 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.3826, allocations: 92.45 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3826, allocations: 0 / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003367/0.3829, allocations: 201.3 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3829, allocations: 4.109 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.3829, allocations: 7.875 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.383, allocations: 8.062 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3831, allocations: 19.98 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3831, allocations: 3.938 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.3832, allocations: 19.94 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.3832, allocations: 4 kB / 1.336 GB, free: 8.004 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.0001989/0.3834, allocations: 186.2 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.3835, allocations: 47.72 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.3838, allocations: 129.6 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.3838, allocations: 4 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3838, allocations: 7.938 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3838, allocations: 0 / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.3841, allocations: 241.4 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3841, allocations: 4 kB / 1.336 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.3841, allocations: 11.97 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3841, allocations: 0 / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3841, allocations: 0 / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3841, allocations: 4 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3841, allocations: 3.938 kB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.3844, allocations: 160.7 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.3844, allocations: 43.7 kB / 1.337 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.3845, allocations: 8 kB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.3845, allocations: 7.984 kB / 1.337 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.3846, allocations: 7.984 kB / 1.337 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3846, allocations: 11.94 kB / 1.337 GB, free: 7.074 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000408/0.385, allocations: 366.8 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.385, allocations: 7.938 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000278/0.3853, allocations: 43.94 kB / 1.337 GB, free: 6.668 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.001702/0.387, allocations: 442.2 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.3873, allocations: 95.89 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3873, allocations: 0 / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.013e-05/0.3874, allocations: 31.92 kB / 1.338 GB, free: 6.285 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3878, allocations: 69.47 kB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.389, allocations: 0.7122 MB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.3892, allocations: 212.4 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.957e-05/0.3893, allocations: 27.42 kB / 1.339 GB, free: 5.223 MB / 1.029 GB Notification: Performance of SimCode: time 1.082e-06/0.3893, allocations: 0 / 1.339 GB, free: 5.223 MB / 1.029 GB Notification: Performance of Templates: time 0.007704/0.397, allocations: 4.395 MB / 1.343 GB, free: 0.8516 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: 11.774758473969996]