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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 105.8 kB / 18.84 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002274/0.002274, allocations: 192.1 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.952/2.952, allocations: 495.8 MB / 0.783 GB, free: 12.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.88 kB / 1.137 GB, free: 12.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003106/1.073, allocations: 2.492 MB / 1.309 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002109/1.075, allocations: 1.61 MB / 1.311 GB, free: 30.9 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/1.075, allocations: 17.62 kB / 1.311 GB, free: 30.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006503/1.076, allocations: 319.5 kB / 1.311 GB, free: 30.81 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000763/1.077, allocations: 340.3 kB / 1.311 GB, free: 30.64 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/1.078, allocations: 457.2 kB / 1.312 GB, free: 30.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001143/1.079, allocations: 0.7257 MB / 1.313 GB, free: 30.07 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/1.079, allocations: 47.17 kB / 1.313 GB, free: 30.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/1.08, allocations: 363.8 kB / 1.313 GB, free: 29.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/1.081, allocations: 346.5 kB / 1.313 GB, free: 29.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.047e-05/1.081, allocations: 30.56 kB / 1.313 GB, free: 29.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/1.081, allocations: 89.95 kB / 1.313 GB, free: 29.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/1.081, allocations: 198 kB / 1.314 GB, free: 29.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002402/1.081, allocations: 267.1 kB / 1.314 GB, free: 29.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008911/1.082, allocations: 0.7453 MB / 1.315 GB, free: 29.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/1.082, allocations: 0 / 1.315 GB, free: 29.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.435e-06/1.082, allocations: 0 / 1.315 GB, free: 29.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.487e-05/1.082, allocations: 0 / 1.315 GB, free: 29.17 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.001668/1.084, allocations: 0.9608 MB / 1.316 GB, free: 28.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.084, allocations: 12.47 kB / 1.316 GB, free: 28.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/1.084, allocations: 77.64 kB / 1.316 GB, free: 28.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007831/1.085, allocations: 0.5636 MB / 1.316 GB, free: 28.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/1.085, allocations: 13.66 kB / 1.316 GB, free: 28.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/1.085, allocations: 18.78 kB / 1.316 GB, free: 28.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/1.085, allocations: 196.3 kB / 1.316 GB, free: 27.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.085, allocations: 3.938 kB / 1.316 GB, free: 27.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/1.085, allocations: 4 kB / 1.316 GB, free: 27.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.085, allocations: 2.906 kB / 1.316 GB, free: 27.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/1.086, allocations: 103 kB / 1.316 GB, free: 27.91 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/1.087, allocations: 1.012 MB / 1.317 GB, free: 27.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/1.088, allocations: 269.1 kB / 1.318 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/1.088, allocations: 99.47 kB / 1.318 GB, free: 26.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/1.088, allocations: 9.719 kB / 1.318 GB, free: 26.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/1.088, allocations: 232.4 kB / 1.318 GB, free: 26.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/1.088, allocations: 2.625 kB / 1.318 GB, free: 26.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001055/1.089, allocations: 429.5 kB / 1.318 GB, free: 26.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/1.089, allocations: 168.7 kB / 1.319 GB, free: 26.41 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.09, allocations: 1.032 MB / 1.32 GB, free: 26.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/1.09, allocations: 39.11 kB / 1.32 GB, free: 25.99 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/1.091, allocations: 292.1 kB / 1.32 GB, free: 25.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.771e-05/1.091, allocations: 73.44 kB / 1.32 GB, free: 25.7 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/1.091, allocations: 143.1 kB / 1.32 GB, free: 25.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/1.091, allocations: 330.7 kB / 1.32 GB, free: 25.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/1.091, allocations: 206.5 kB / 1.321 GB, free: 25.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/1.092, allocations: 308.1 kB / 1.321 GB, free: 25.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00058/1.092, allocations: 417.3 kB / 1.321 GB, free: 24.86 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.092, allocations: 2.281 kB / 1.321 GB, free: 24.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001009/1.093, allocations: 0.6731 MB / 1.322 GB, free: 24.6 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/1.093, allocations: 9.188 kB / 1.322 GB, free: 24.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.093, allocations: 2.969 kB / 1.322 GB, free: 24.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/1.093, allocations: 5.031 kB / 1.322 GB, free: 24.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/1.094, allocations: 112.1 kB / 1.322 GB, free: 24.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.094, allocations: 12.3 kB / 1.322 GB, free: 24.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/1.094, allocations: 46.91 kB / 1.322 GB, free: 24.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/1.094, allocations: 26.58 kB / 1.322 GB, free: 24.55 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.0002819/1.094, allocations: 277.2 kB / 1.322 GB, free: 24.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/1.094, allocations: 77.3 kB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/1.095, allocations: 372.6 kB / 1.323 GB, free: 24.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/1.095, allocations: 9.062 kB / 1.323 GB, free: 24.17 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.095, allocations: 3.938 kB / 1.323 GB, free: 24.17 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.095, allocations: 6.531 kB / 1.323 GB, free: 24.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/1.096, allocations: 434.9 kB / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.096, allocations: 2.625 kB / 1.323 GB, free: 23.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/1.096, allocations: 23.16 kB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.096, allocations: 2.719 kB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/1.096, allocations: 9.5 kB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.096, allocations: 2.531 kB / 1.323 GB, free: 23.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.096, allocations: 6.5 kB / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/1.096, allocations: 403.6 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.096, allocations: 84.23 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/1.096, allocations: 13.19 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/1.097, allocations: 18.34 kB / 1.324 GB, free: 23.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/1.097, allocations: 23.48 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/1.097, allocations: 20.34 kB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000633/1.097, allocations: 0.606 MB / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/1.097, allocations: 3.938 kB / 1.325 GB, free: 23.37 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005316/1.098, allocations: 114.8 kB / 1.325 GB, free: 23.35 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.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.0019/1.1, allocations: 486.1 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009632/1.101, allocations: 379.2 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.101, allocations: 0.5 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/1.101, allocations: 93.84 kB / 1.326 GB, free: 22.99 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/1.102, allocations: 228 kB / 1.326 GB, free: 22.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/1.104, allocations: 1.101 MB / 1.327 GB, free: 22.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/1.104, allocations: 0.9328 MB / 1.328 GB, free: 21.61 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003007/1.105, allocations: 112.7 kB / 1.328 GB, free: 21.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/1.105, allocations: 58.84 kB / 1.328 GB, free: 21.57 MB / 1.061 GB Notification: Performance of SimCode: time 1.112e-06/1.105, allocations: 0 / 1.328 GB, free: 21.57 MB / 1.061 GB Notification: Performance of Templates: time 0.01954/1.124, allocations: 7.979 MB / 1.336 GB, free: 20.84 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/jenkins/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: 9.746723510324955]