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.001293/0.001293, allocations: 111.3 kB / 17.13 MB, free: 6.008 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.001381/0.001381, allocations: 212.3 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.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.92/2.92, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.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.001941/0.001941, allocations: 71.91 kB / 1.15 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003261/1.006, allocations: 2.544 MB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002544/1.009, allocations: 1.716 MB / 1.326 GB, free: 22.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/1.009, allocations: 18.53 kB / 1.326 GB, free: 22.03 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005469/1.009, allocations: 329.9 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006389/1.01, allocations: 412 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/1.01, allocations: 277.9 kB / 1.327 GB, free: 21.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008582/1.011, allocations: 0.7692 MB / 1.328 GB, free: 21.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/1.012, allocations: 53.86 kB / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/1.012, allocations: 368 kB / 1.328 GB, free: 21.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/1.012, allocations: 362.2 kB / 1.329 GB, free: 20.92 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/1.013, allocations: 31.41 kB / 1.329 GB, free: 20.92 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/1.013, allocations: 92 kB / 1.329 GB, free: 20.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/1.013, allocations: 197.5 kB / 1.329 GB, free: 20.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/1.013, allocations: 280.5 kB / 1.329 GB, free: 20.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/1.014, allocations: 0.7864 MB / 1.33 GB, free: 20.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.014, allocations: 0 / 1.33 GB, free: 20.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/1.014, allocations: 7.938 kB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.73e-05/1.014, allocations: 1.281 kB / 1.33 GB, free: 20.29 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001535/1.016, allocations: 1.052 MB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.016, allocations: 21.45 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/1.016, allocations: 85.14 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/1.017, allocations: 0.6518 MB / 1.332 GB, free: 19.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/1.017, allocations: 12.64 kB / 1.332 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/1.017, allocations: 17.61 kB / 1.332 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/1.017, allocations: 191.5 kB / 1.332 GB, free: 18.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.017, allocations: 0 / 1.332 GB, free: 18.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/1.017, allocations: 11.45 kB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.017, allocations: 7 kB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/1.018, allocations: 98.27 kB / 1.332 GB, free: 18.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/1.019, allocations: 1.066 MB / 1.333 GB, free: 18.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/1.02, allocations: 261.5 kB / 1.333 GB, free: 17.89 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/1.02, allocations: 101.2 kB / 1.333 GB, free: 17.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/1.02, allocations: 13.66 kB / 1.333 GB, free: 17.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/1.02, allocations: 221.8 kB / 1.334 GB, free: 17.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/1.02, allocations: 5.016 kB / 1.334 GB, free: 17.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001099/1.022, allocations: 437.4 kB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/1.022, allocations: 167.2 kB / 1.334 GB, free: 17.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/1.023, allocations: 1.08 MB / 1.335 GB, free: 16.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/1.023, allocations: 37.27 kB / 1.335 GB, free: 16.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/1.024, allocations: 306.5 kB / 1.336 GB, free: 16.61 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/1.024, allocations: 77.56 kB / 1.336 GB, free: 16.56 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/1.024, allocations: 144.6 kB / 1.336 GB, free: 16.48 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/1.024, allocations: 327.1 kB / 1.336 GB, free: 16.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/1.024, allocations: 216.8 kB / 1.336 GB, free: 16.11 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/1.025, allocations: 311.9 kB / 1.337 GB, free: 15.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/1.026, allocations: 413.2 kB / 1.337 GB, free: 15.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.026, allocations: 1.375 kB / 1.337 GB, free: 15.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001247/1.027, allocations: 0.6963 MB / 1.338 GB, free: 15.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.027, allocations: 7.516 kB / 1.338 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.027, allocations: 2 kB / 1.338 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.027, allocations: 4.781 kB / 1.338 GB, free: 15.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/1.027, allocations: 115.3 kB / 1.338 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.027, allocations: 9.547 kB / 1.338 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/1.028, allocations: 38.88 kB / 1.338 GB, free: 15.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/1.028, allocations: 26.02 kB / 1.338 GB, free: 15.4 MB / 1.061 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.0003365/1.028, allocations: 282.3 kB / 1.338 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.028, allocations: 80.5 kB / 1.338 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/1.028, allocations: 75.7 kB / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.028, allocations: 3.656 kB / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.028, allocations: 6.438 kB / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/1.028, allocations: 6.281 kB / 1.338 GB, free: 15.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/1.029, allocations: 477.3 kB / 1.339 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.029, allocations: 1.156 kB / 1.339 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/1.029, allocations: 22.77 kB / 1.339 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.029, allocations: 5.469 kB / 1.339 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/1.029, allocations: 11.53 kB / 1.339 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/1.029, allocations: 3.234 kB / 1.339 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.029, allocations: 5.25 kB / 1.339 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/1.03, allocations: 402.9 kB / 1.339 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/1.03, allocations: 164.9 kB / 1.339 GB, free: 14.46 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/1.03, allocations: 10.03 kB / 1.339 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/1.03, allocations: 21.88 kB / 1.339 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/1.03, allocations: 24.39 kB / 1.339 GB, free: 14.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/1.03, allocations: 17.09 kB / 1.339 GB, free: 14.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007997/1.031, allocations: 0.6279 MB / 1.34 GB, free: 14.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.031, allocations: 0 / 1.34 GB, free: 14.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004887/1.031, allocations: 114.4 kB / 1.34 GB, free: 14.18 MB / 1.061 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.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * 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.001813/1.033, allocations: 495.7 kB / 1.341 GB, free: 13.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008284/1.034, allocations: 375.3 kB / 1.341 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.034, allocations: 1.062 kB / 1.341 GB, free: 13.85 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/1.034, allocations: 101.4 kB / 1.341 GB, free: 13.82 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009969/1.035, allocations: 226.2 kB / 1.341 GB, free: 13.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/1.037, allocations: 1.197 MB / 1.343 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/1.038, allocations: 0.9458 MB / 1.343 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/1.038, allocations: 59.86 kB / 1.344 GB, free: 12.36 MB / 1.061 GB Notification: Performance of SimCode: time 8.82e-07/1.038, allocations: 4.969 kB / 1.344 GB, free: 12.35 MB / 1.061 GB Notification: Performance of Templates: time 0.01924/1.057, allocations: 9.254 MB / 1.353 GB, free: 11.17 MB / 1.061 GB " [Timeout remaining time 299] 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: 13.152244441007497]