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.001565/0.001565, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001796/0.001796, allocations: 213.8 kB / 23.04 MB, free: 4.867 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002065/0.002065, allocations: 69.53 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004018/0.3289, allocations: 2.383 MB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003194/0.3321, allocations: 1.654 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.3324, allocations: 11.88 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006851/0.3331, allocations: 326.8 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008779/0.334, allocations: 422.3 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.3346, allocations: 291.4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000996/0.3356, allocations: 0.779 MB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.3358, allocations: 45.89 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004648/0.3363, allocations: 338.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.3368, allocations: 350.6 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.709e-05/0.3369, allocations: 32 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.3371, allocations: 95.91 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3373, allocations: 211.2 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.3376, allocations: 210.5 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008875/0.3385, allocations: 0.7973 MB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3385, allocations: 0 / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3385, allocations: 0 / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3385, allocations: 0 / 1.335 GB, free: 9.012 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.001606/0.3401, allocations: 0.9816 MB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3401, allocations: 8.031 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.3402, allocations: 80.42 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009867/0.3412, allocations: 0.5847 MB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.3413, allocations: 16.3 kB / 1.337 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.3413, allocations: 19.94 kB / 1.337 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.3417, allocations: 197.8 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3417, allocations: 7.938 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.3417, allocations: 7.984 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3417, allocations: 4 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.342, allocations: 111.8 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3434, allocations: 0.9734 MB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006333/0.344, allocations: 280.9 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.3443, allocations: 112.2 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.3443, allocations: 4 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/0.3447, allocations: 229.2 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/0.3448, allocations: 0 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001056/0.3458, allocations: 458 kB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.3459, allocations: 162.2 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.3473, allocations: 1.079 MB / 1.34 GB, free: 3.465 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.3473, allocations: 33.7 kB / 1.34 GB, free: 3.426 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.3476, allocations: 320.8 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.3477, allocations: 71.52 kB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.3479, allocations: 110.1 kB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3481, allocations: 326 kB / 1.341 GB, free: 2.594 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.3484, allocations: 172.9 kB / 1.341 GB, free: 2.426 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.3488, allocations: 275.2 kB / 1.341 GB, free: 2.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/0.3495, allocations: 382.2 kB / 1.342 GB, free: 1.719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3495, allocations: 0 / 1.342 GB, free: 1.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001082/0.3506, allocations: 0.5897 MB / 1.342 GB, free: 1.125 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3506, allocations: 4 kB / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3506, allocations: 4 kB / 1.342 GB, free: 1.117 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.3506, allocations: 4 kB / 1.342 GB, free: 1.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.351, allocations: 99.88 kB / 1.342 GB, free: 1.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.3511, allocations: 12.16 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3514, allocations: 47.7 kB / 1.342 GB, free: 0.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.3514, allocations: 23.98 kB / 1.342 GB, free: 0.9336 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$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,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 (61): * Single equations (assignments): 61 * 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.0003799/0.3518, allocations: 262.2 kB / 1.343 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3519, allocations: 87.44 kB / 1.343 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/0.3528, allocations: 416 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.3529, allocations: 7.938 kB / 1.343 GB, free: 164 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3529, allocations: 4 kB / 1.343 GB, free: 160 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.3529, allocations: 7.938 kB / 1.343 GB, free: 152 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.3534, allocations: 377 kB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3534, allocations: 4 kB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.3535, allocations: 31.92 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.3535, allocations: 4 kB / 1.344 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.3535, allocations: 11.98 kB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3535, allocations: 4 kB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3535, allocations: 0 / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.3543, allocations: 443.8 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.3544, allocations: 95.41 kB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/0.3545, allocations: 12 kB / 1.344 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3547, allocations: 15.97 kB / 1.344 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.3548, allocations: 31.89 kB / 1.344 GB, free: 15.08 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.3548, allocations: 20.3 kB / 1.344 GB, free: 15.06 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000883/0.3557, allocations: 0.6747 MB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3557, allocations: 0 / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004572/0.3561, allocations: 115.9 kB / 1.345 GB, free: 14.28 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 (30): * Single equations (assignments): 20 * 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.002057/0.3582, allocations: 0.5142 MB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007913/0.359, allocations: 347.5 kB / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.359, allocations: 0 / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.3592, allocations: 111.8 kB / 1.346 GB, free: 13.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/0.3602, allocations: 225 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3621, allocations: 1.23 MB / 1.347 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.3625, allocations: 349.8 kB / 1.348 GB, free: 11.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3627, allocations: 63.42 kB / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of SimCode: time 7.12e-07/0.3627, allocations: 0 / 1.348 GB, free: 11.61 MB / 1.045 GB Notification: Performance of Templates: time 0.01617/0.3789, allocations: 9.638 MB / 1.357 GB, free: 2 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: 13.020086793927476]