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.001554/0.001554, allocations: 115.5 kB / 17.13 MB, free: 6.004 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.001678/0.001678, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.932/2.932, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.00203/0.00203, allocations: 74.08 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003119/1.016, allocations: 2.215 MB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001914/1.018, allocations: 1.54 MB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/1.018, allocations: 0 / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/1.018, allocations: 189.9 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003531/1.019, allocations: 177.8 kB / 1.326 GB, free: 22.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/1.019, allocations: 110.9 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/1.019, allocations: 245.6 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/1.02, allocations: 33.05 kB / 1.326 GB, free: 22.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/1.02, allocations: 99.36 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/1.02, allocations: 102.8 kB / 1.327 GB, free: 21.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/1.02, allocations: 11.16 kB / 1.327 GB, free: 21.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/1.02, allocations: 61.98 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/1.02, allocations: 100.4 kB / 1.327 GB, free: 21.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/1.02, allocations: 134 kB / 1.327 GB, free: 21.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005793/1.021, allocations: 365.1 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.021, allocations: 0 / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/1.021, allocations: 0.5 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.079e-05/1.021, allocations: 0 / 1.327 GB, free: 21.66 MB / 1.061 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.001145/1.022, allocations: 0.7036 MB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.022, allocations: 14.05 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/1.022, allocations: 48.81 kB / 1.328 GB, free: 21.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/1.023, allocations: 357.9 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.023, allocations: 6.438 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/1.023, allocations: 15.39 kB / 1.328 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/1.023, allocations: 72.95 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.023, allocations: 0 / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/1.023, allocations: 4.078 kB / 1.328 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.023, allocations: 5.25 kB / 1.328 GB, free: 20.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/1.023, allocations: 42.52 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/1.024, allocations: 457.9 kB / 1.329 GB, free: 20.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/1.024, allocations: 66.47 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/1.025, allocations: 21.97 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/1.025, allocations: 5.547 kB / 1.329 GB, free: 20.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/1.025, allocations: 82.77 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/1.025, allocations: 0.5312 kB / 1.329 GB, free: 20.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0003903/1.025, allocations: 151.4 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/1.025, allocations: 56.47 kB / 1.329 GB, free: 20.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006576/1.026, allocations: 0.5396 MB / 1.33 GB, free: 19.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/1.026, allocations: 35.3 kB / 1.33 GB, free: 19.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/1.026, allocations: 222.3 kB / 1.33 GB, free: 19.56 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/1.026, allocations: 19.78 kB / 1.33 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.988e-05/1.026, allocations: 43 kB / 1.33 GB, free: 19.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/1.026, allocations: 357.3 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/1.026, allocations: 50.62 kB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/1.026, allocations: 77.89 kB / 1.331 GB, free: 19.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/1.027, allocations: 93.44 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.027, allocations: 0.9688 kB / 1.331 GB, free: 19.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003303/1.027, allocations: 189.9 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/1.027, allocations: 7.891 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.027, allocations: 1.125 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.027, allocations: 1.531 kB / 1.331 GB, free: 18.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/1.027, allocations: 28.8 kB / 1.331 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.027, allocations: 2 kB / 1.331 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/1.027, allocations: 24.81 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/1.027, allocations: 9.375 kB / 1.331 GB, free: 18.95 MB / 1.061 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.0001559/1.027, allocations: 185.2 kB / 1.331 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.185e-05/1.027, allocations: 43.94 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.881e-05/1.028, allocations: 45.34 kB / 1.331 GB, free: 18.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.028, allocations: 5.484 kB / 1.331 GB, free: 18.76 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/1.028, allocations: 0 / 1.331 GB, free: 18.76 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.028, allocations: 1.375 kB / 1.331 GB, free: 18.76 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/1.028, allocations: 301.1 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.028, allocations: 0.6562 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/1.028, allocations: 3.828 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/1.028, allocations: 0.7812 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.028, allocations: 2.156 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.028, allocations: 5.312 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.028, allocations: 0.5625 kB / 1.331 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/1.028, allocations: 153.8 kB / 1.332 GB, free: 18.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/1.028, allocations: 122.5 kB / 1.332 GB, free: 18.29 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/1.028, allocations: 5.609 kB / 1.332 GB, free: 18.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/1.028, allocations: 15.14 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/1.028, allocations: 15.86 kB / 1.332 GB, free: 18.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/1.028, allocations: 8.453 kB / 1.332 GB, free: 18.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004956/1.029, allocations: 366.2 kB / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.029, allocations: 0 / 1.332 GB, free: 18.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003141/1.029, allocations: 45.25 kB / 1.332 GB, free: 18.1 MB / 1.061 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 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001686/1.031, allocations: 420.7 kB / 1.333 GB, free: 17.9 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003241/1.031, allocations: 93.89 kB / 1.333 GB, free: 17.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.031, allocations: 0 / 1.333 GB, free: 17.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.062e-05/1.031, allocations: 26.7 kB / 1.333 GB, free: 17.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/1.032, allocations: 53.59 kB / 1.333 GB, free: 17.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/1.033, allocations: 0.7029 MB / 1.333 GB, free: 17.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/1.033, allocations: 0.8167 MB / 1.334 GB, free: 16.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/1.033, allocations: 25.3 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.033, allocations: 3.938 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of Templates: time 0.008446/1.042, allocations: 4.227 MB / 1.338 GB, free: 15.91 MB / 1.061 GB " [Timeout remaining time 299] 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.474313291997532]