Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.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.001702/0.001702, allocations: 115.5 kB / 17.08 MB, free: 5.977 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.00195/0.00195, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.431/1.431, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 437.1 MB / 0.7177 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002057, allocations: 67.89 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3174, allocations: 151.6 MB / 1.176 GB, free: 5.992 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002521/0.32, allocations: 0.8662 MB / 1.177 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3225, allocations: 1.452 MB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.3227, allocations: 0 / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.3233, allocations: 203.4 kB / 1.178 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.3235, allocations: 111.6 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.3247, allocations: 354.8 kB / 1.179 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3259, allocations: 0.8931 MB / 1.18 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.3262, allocations: 84.27 kB / 1.18 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.3268, allocations: 343.5 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.3273, allocations: 267.3 kB / 1.18 GB, free: 1.426 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002623/0.3276, allocations: 51.94 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.328, allocations: 103.9 kB / 1.18 GB, free: 1.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005276/0.3285, allocations: 343.4 kB / 1.181 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.329, allocations: 274.8 kB / 1.181 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.33, allocations: 0.919 MB / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.33, allocations: 0 / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.212e-06/0.33, allocations: 0 / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.3301, allocations: 0 / 1.182 GB, free: 15.75 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001611/0.3317, allocations: 0.9149 MB / 1.183 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3317, allocations: 15.98 kB / 1.183 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.3319, allocations: 52.66 kB / 1.183 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.3327, allocations: 0.5414 MB / 1.183 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.3327, allocations: 20.61 kB / 1.183 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.3329, allocations: 36.38 kB / 1.183 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.3333, allocations: 311.6 kB / 1.184 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3334, allocations: 192 / 1.184 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.3334, allocations: 15.92 kB / 1.184 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3334, allocations: 3.984 kB / 1.184 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.3338, allocations: 219.8 kB / 1.184 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.3357, allocations: 1.184 MB / 1.185 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.3365, allocations: 467.8 kB / 1.186 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.3367, allocations: 186.5 kB / 1.186 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.3368, allocations: 0 / 1.186 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.3372, allocations: 329.6 kB / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.3372, allocations: 0 / 1.186 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.001066/0.3383, allocations: 0.626 MB / 1.187 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.3384, allocations: 118.8 kB / 1.187 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007406/0.3392, allocations: 0.6071 MB / 1.187 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.463e-05/0.3393, allocations: 45.7 kB / 1.187 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.3395, allocations: 206.4 kB / 1.188 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.3396, allocations: 63.58 kB / 1.188 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.3398, allocations: 177.5 kB / 1.188 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.34, allocations: 358.8 kB / 1.188 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.3402, allocations: 139.7 kB / 1.188 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000913/0.3412, allocations: 0.7144 MB / 1.189 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.3416, allocations: 300.6 kB / 1.189 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3416, allocations: 0 / 1.189 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007072/0.3423, allocations: 428.9 kB / 1.19 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3423, allocations: 8 kB / 1.19 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3423, allocations: 4 kB / 1.19 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.3424, allocations: 4 kB / 1.19 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3425, allocations: 39.8 kB / 1.19 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3426, allocations: 7.984 kB / 1.19 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.3439, allocations: 126.4 kB / 1.19 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.3439, allocations: 19.98 kB / 1.19 GB, free: 7.023 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0004279/0.3443, allocations: 257.6 kB / 1.19 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.3444, allocations: 47.72 kB / 1.19 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.191e-05/0.3445, allocations: 51.38 kB / 1.19 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3445, allocations: 3.938 kB / 1.19 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.3445, allocations: 4 kB / 1.19 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3446, allocations: 7.969 kB / 1.19 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.345, allocations: 405.2 kB / 1.191 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.345, allocations: 0 / 1.191 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.3451, allocations: 11.92 kB / 1.191 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3451, allocations: 4 kB / 1.191 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3451, allocations: 8 kB / 1.191 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.3451, allocations: 7.938 kB / 1.191 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3451, allocations: 0 / 1.191 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.3459, allocations: 0.5111 MB / 1.191 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.346, allocations: 128.8 kB / 1.191 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.3461, allocations: 11.98 kB / 1.191 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3462, allocations: 15.92 kB / 1.191 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.3463, allocations: 31.97 kB / 1.191 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.3464, allocations: 16 kB / 1.191 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005432/0.3469, allocations: 435.1 kB / 1.192 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3469, allocations: 0 / 1.192 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005191/0.3475, allocations: 111.8 kB / 1.192 GB, free: 4.887 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002861/0.3478, allocations: 149.3 kB / 1.192 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006149/0.3484, allocations: 353.7 kB / 1.192 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3484, allocations: 0 / 1.192 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.3487, allocations: 227.7 kB / 1.193 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3491, allocations: 40.19 kB / 1.193 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3506, allocations: 0.8756 MB / 1.194 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.3514, allocations: 0.835 MB / 1.194 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3515, allocations: 35.44 kB / 1.194 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.3515, allocations: 0 / 1.194 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of Templates: time 0.01198/0.3635, allocations: 7.004 MB / 1.201 GB, free: 11.45 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.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: 11.31565787398722]