Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.001316/0.001316, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001494/0.001494, allocations: 216.4 kB / 23.01 MB, free: 4.566 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: 8.012 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.13/3.13, allocations: 0.49 GB / 0.7958 GB, free: 33.41 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.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") [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.002096/0.002096, allocations: 64.28 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3731, allocations: 176.1 MB / 1.327 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004355/0.3775, allocations: 2.549 MB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.3809, allocations: 1.743 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.3811, allocations: 19.81 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.3818, allocations: 326.8 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008075/0.3826, allocations: 414.4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.3832, allocations: 283.5 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009183/0.3841, allocations: 0.7751 MB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.3843, allocations: 49.88 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005307/0.3849, allocations: 370.6 kB / 1.334 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.3853, allocations: 366.5 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.3854, allocations: 32 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.3856, allocations: 87.97 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.3858, allocations: 215.1 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.3861, allocations: 278 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009261/0.387, allocations: 0.7739 MB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.387, allocations: 0 / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.503e-06/0.387, allocations: 4 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.387, allocations: 0 / 1.335 GB, free: 9.145 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001676/0.3887, allocations: 0.9854 MB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3888, allocations: 12.03 kB / 1.336 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.3889, allocations: 84.42 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.3899, allocations: 0.5846 MB / 1.337 GB, free: 7.426 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.39, allocations: 12.38 kB / 1.337 GB, free: 7.414 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.39, allocations: 15.94 kB / 1.337 GB, free: 7.398 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.3904, allocations: 197.8 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3904, allocations: 0 / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.3904, allocations: 4 kB / 1.337 GB, free: 7.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.3904, allocations: 8 kB / 1.337 GB, free: 7.172 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.3907, allocations: 95.88 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.3922, allocations: 1.039 MB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.3928, allocations: 269 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.3931, allocations: 100.2 kB / 1.339 GB, free: 5.559 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.3931, allocations: 4 kB / 1.339 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.3935, allocations: 221.2 kB / 1.339 GB, free: 5.312 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.674e-06/0.3935, allocations: 4 kB / 1.339 GB, free: 5.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001004/0.3945, allocations: 434 kB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.3946, allocations: 166.2 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.3961, allocations: 1.075 MB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.3961, allocations: 37.7 kB / 1.34 GB, free: 3.547 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.3964, allocations: 304.9 kB / 1.341 GB, free: 3.242 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.156e-05/0.3965, allocations: 79.47 kB / 1.341 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.3967, allocations: 154.1 kB / 1.341 GB, free: 3.004 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3969, allocations: 326 kB / 1.341 GB, free: 2.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.3973, allocations: 217.2 kB / 1.341 GB, free: 2.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.3978, allocations: 319 kB / 1.342 GB, free: 2.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.3985, allocations: 416.8 kB / 1.342 GB, free: 1.695 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3985, allocations: 0 / 1.342 GB, free: 1.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001241/0.3997, allocations: 0.6893 MB / 1.343 GB, free: 1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3997, allocations: 4 kB / 1.343 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3997, allocations: 4 kB / 1.343 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.3998, allocations: 4 kB / 1.343 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.4002, allocations: 115.8 kB / 1.343 GB, free: 0.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.4002, allocations: 7.938 kB / 1.343 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.4005, allocations: 47.77 kB / 1.343 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.4005, allocations: 27.98 kB / 1.343 GB, free: 0.793 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003563/0.4009, allocations: 274.2 kB / 1.343 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.401, allocations: 79.48 kB / 1.343 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/0.4018, allocations: 376.1 kB / 1.344 GB, free: 64 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4018, allocations: 4 kB / 1.344 GB, free: 60 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4018, allocations: 3.938 kB / 1.344 GB, free: 56 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4018, allocations: 4 kB / 1.344 GB, free: 52 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.4023, allocations: 448.3 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4023, allocations: 0 / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.4024, allocations: 19.98 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.4024, allocations: 4 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.4024, allocations: 8 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.4024, allocations: 7.938 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.4024, allocations: 3.938 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.4031, allocations: 402.2 kB / 1.345 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.4033, allocations: 91.41 kB / 1.345 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.4034, allocations: 11.98 kB / 1.345 GB, free: 15 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.4035, allocations: 15.98 kB / 1.345 GB, free: 14.99 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.4036, allocations: 35.84 kB / 1.345 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.4036, allocations: 15.97 kB / 1.345 GB, free: 14.94 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008106/0.4045, allocations: 0.6239 MB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4045, allocations: 0 / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004515/0.4049, allocations: 119.9 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001855/0.4068, allocations: 496.5 kB / 1.346 GB, free: 13.89 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008145/0.4076, allocations: 391.3 kB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4076, allocations: 0 / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/0.4078, allocations: 100.1 kB / 1.346 GB, free: 13.42 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009001/0.4087, allocations: 222.4 kB / 1.347 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.4106, allocations: 1.194 MB / 1.348 GB, free: 11.98 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.4112, allocations: 0.9403 MB / 1.349 GB, free: 11.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.4114, allocations: 63.41 kB / 1.349 GB, free: 10.95 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.4114, allocations: 0 / 1.349 GB, free: 10.95 MB / 1.045 GB Notification: Performance of Templates: time 0.01515/0.4265, allocations: 9.256 MB / 1.358 GB, free: 1.727 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.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.605745834996924]