Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00171/0.00171, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001897/0.001897, allocations: 213.7 kB / 22.99 MB, free: 4.945 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.735/2.735, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002119/0.002119, allocations: 64.84 kB / 1.118 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3788, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004956/0.3837, allocations: 2.152 MB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003131/0.3869, allocations: 1.431 MB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.3871, allocations: 0 / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007928/0.3879, allocations: 179 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006916/0.3886, allocations: 183.1 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.389, allocations: 115.6 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004915/0.3895, allocations: 235.1 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.3897, allocations: 40.48 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.3899, allocations: 99.52 kB / 1.288 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.3902, allocations: 99.53 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.3902, allocations: 12 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.3904, allocations: 55.97 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.3906, allocations: 95.55 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3907, allocations: 99.23 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.3912, allocations: 370.2 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3912, allocations: 7.938 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3913, allocations: 0 / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3913, allocations: 3.938 kB / 1.289 GB, free: 6.758 MB / 0.9825 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.001174/0.3924, allocations: 0.6203 MB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3925, allocations: 8.031 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.529e-05/0.3926, allocations: 44.66 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.3931, allocations: 302.9 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3931, allocations: 8.375 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3931, allocations: 7.938 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.3933, allocations: 107.2 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3933, allocations: 0 / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3934, allocations: 4 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3934, allocations: 0 / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3935, allocations: 43.97 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.3942, allocations: 384.2 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.3944, allocations: 70.67 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.3945, allocations: 28.84 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3945, allocations: 3.984 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.3947, allocations: 105 kB / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3947, allocations: 0 / 1.29 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003753/0.3951, allocations: 149.3 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.3952, allocations: 51.41 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.3958, allocations: 0.5457 MB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.3959, allocations: 29.7 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.3961, allocations: 228 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.3961, allocations: 19.89 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.847e-05/0.3962, allocations: 45.66 kB / 1.292 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.3964, allocations: 354.8 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3965, allocations: 51.97 kB / 1.292 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.3967, allocations: 112.1 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.3969, allocations: 89.64 kB / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3969, allocations: 112 / 1.292 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003514/0.3972, allocations: 209.2 kB / 1.292 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.3973, allocations: 14.33 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3973, allocations: 0 / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3973, allocations: 0 / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3974, allocations: 20.25 kB / 1.292 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.3974, allocations: 7.922 kB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.3976, allocations: 19.95 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.3976, allocations: 4 kB / 1.292 GB, free: 2.91 MB / 0.9825 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.0002067/0.3978, allocations: 181.7 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3978, allocations: 51.72 kB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.3981, allocations: 133.6 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3981, allocations: 0 / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.3981, allocations: 3.938 kB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3981, allocations: 0 / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.3984, allocations: 245.1 kB / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3984, allocations: 0 / 1.293 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.3985, allocations: 7.938 kB / 1.293 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3985, allocations: 4 kB / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3985, allocations: 0 / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3985, allocations: 0 / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3985, allocations: 4.078 kB / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.3987, allocations: 168.7 kB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.3988, allocations: 39.72 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.3989, allocations: 4 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.3989, allocations: 7.984 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.399, allocations: 7.984 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.399, allocations: 11.94 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004322/0.3994, allocations: 370.8 kB / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3994, allocations: 0 / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002666/0.3997, allocations: 43.94 kB / 1.294 GB, free: 1.586 MB / 0.9825 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.001724/0.4014, allocations: 456.2 kB / 1.294 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.4017, allocations: 90.91 kB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4017, allocations: 0 / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.258e-05/0.4018, allocations: 35.92 kB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4022, allocations: 61.08 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.4034, allocations: 0.7162 MB / 1.295 GB, free: 404 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.4036, allocations: 212.4 kB / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.344e-05/0.4037, allocations: 27.42 kB / 1.295 GB, free: 144 kB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.4037, allocations: 0 / 1.295 GB, free: 144 kB / 0.9825 GB Notification: Performance of Templates: time 0.007777/0.4115, allocations: 4.39 MB / 1.299 GB, free: 11.77 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.955209726002067]