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.0007632/0.0007632, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001771, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006952/0.0006952, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009074/0.001603, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.944/0.944, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1043/1.048, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.815/1.815, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5034/2.318, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.|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.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 3.984 kB / 0.7293 GB, free: 4.512 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.693e-05, allocations: 3.469 kB / 0.7294 GB, free: 4.508 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00286/0.002877, allocations: 2.282 MB / 0.7316 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.004681, allocations: 1.516 MB / 0.7331 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.004802, allocations: 1.406 kB / 0.7331 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004114/0.005213, allocations: 182.6 kB / 0.7332 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.005497, allocations: 180 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.005873, allocations: 112.2 kB / 0.7335 GB, free: 296 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.006123, allocations: 243 kB / 0.7337 GB, free: 52 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.006245, allocations: 35.02 kB / 0.7338 GB, free: 16 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.006761, allocations: 227.2 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.006883, allocations: 76.61 kB / 0.7341 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.006905, allocations: 12 kB / 0.7341 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.00702, allocations: 55.89 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.194e-05/0.007102, allocations: 93.08 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.491e-05/0.007167, allocations: 51.75 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.007439, allocations: 242.9 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.007452, allocations: 0 / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.81e-07/0.007453, allocations: 0.6562 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.007465, allocations: 1.719 kB / 0.7345 GB, free: 15.3 MB / 0.7136 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.000616/0.008081, allocations: 0.6459 MB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.008113, allocations: 12.03 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.008161, allocations: 24.91 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.008401, allocations: 282.7 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.008417, allocations: 4.375 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.008428, allocations: 5.438 kB / 0.7355 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.008545, allocations: 99.45 kB / 0.7355 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.008552, allocations: 4.812 kB / 0.7356 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-06/0.008559, allocations: 0 / 0.7356 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.008564, allocations: 4 kB / 0.7356 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.278e-05/0.008597, allocations: 16.55 kB / 0.7356 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.008901, allocations: 234.5 kB / 0.7358 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.485e-05/0.008996, allocations: 93.92 kB / 0.7359 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.009017, allocations: 17.8 kB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.009031, allocations: 0 / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.976e-05/0.009131, allocations: 92.69 kB / 0.736 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.009132, allocations: 0 / 0.736 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000119/0.009251, allocations: 74.84 kB / 0.7361 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.009276, allocations: 59.34 kB / 0.7361 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.009529, allocations: 446 kB / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.009548, allocations: 26.73 kB / 0.7366 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.009614, allocations: 153.2 kB / 0.7367 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.009633, allocations: 16.45 kB / 0.7367 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.009677, allocations: 37.69 kB / 0.7368 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.009768, allocations: 364.5 kB / 0.7371 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.009793, allocations: 18.81 kB / 0.7371 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.439e-05/0.009837, allocations: 68.25 kB / 0.7372 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.459e-05/0.009892, allocations: 56.44 kB / 0.7373 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009894, allocations: 0 / 0.7373 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001048/0.009998, allocations: 110.8 kB / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.01001, allocations: 8.75 kB / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01001, allocations: 0 / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.01002, allocations: 0.75 kB / 0.7374 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.174e-05/0.0101, allocations: 27.92 kB / 0.7374 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.01011, allocations: 5.188 kB / 0.7374 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.162e-05/0.01016, allocations: 15.94 kB / 0.7374 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.01017, allocations: 4 kB / 0.7374 GB, free: 12.12 MB / 0.7136 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 7.46e-05/0.01025, allocations: 126.3 kB / 0.7375 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.01027, allocations: 25 kB / 0.7376 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.01037, allocations: 97.52 kB / 0.7377 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.01037, allocations: 0 / 0.7377 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01037, allocations: 0.9375 kB / 0.7377 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01038, allocations: 4.25 kB / 0.7377 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.01049, allocations: 145.8 kB / 0.7378 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01049, allocations: 5.359 kB / 0.7378 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/0.01051, allocations: 15.86 kB / 0.7378 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.01054, allocations: 35.72 kB / 0.7379 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.01054, allocations: 2.75 kB / 0.7379 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.01055, allocations: 4 kB / 0.7379 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01055, allocations: 4 kB / 0.7379 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01055, allocations: 0 / 0.7379 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.495e-05/0.01062, allocations: 110.6 kB / 0.738 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.01065, allocations: 4 kB / 0.738 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.01068, allocations: 8 kB / 0.738 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.01071, allocations: 10.38 kB / 0.738 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.01072, allocations: 4 kB / 0.738 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001134/0.01083, allocations: 176.4 kB / 0.7382 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01083, allocations: 0 / 0.7382 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001489/0.01098, allocations: 51.88 kB / 0.7382 GB, free: 11.27 MB / 0.7136 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.001135/0.01212, allocations: 0.549 MB / 0.7387 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.927e-05/0.01222, allocations: 57.66 kB / 0.7388 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.01223, allocations: 8 kB / 0.7388 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.731e-05/0.01225, allocations: 17.52 kB / 0.7388 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.01244, allocations: 97 kB / 0.7389 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.01396, allocations: 0.6022 MB / 0.7395 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.01402, allocations: 115.9 kB / 0.7396 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.137e-05/0.01407, allocations: 17.64 kB / 0.7396 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.01417, allocations: 95.33 kB / 0.7397 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.01417, allocations: 1 kB / 0.7397 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of Templates: time 0.005918/0.02009, allocations: 3.356 MB / 0.743 GB, free: 6.785 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.919330244883895]