Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008811/0.008812, allocations: 101.4 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001716, allocations: 189.4 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.23 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3286, allocations: 140.4 MB / 1.088 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001972/0.3306, allocations: 0.861 MB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.3326, allocations: 1.457 MB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.088e-05/0.3327, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005619/0.3333, allocations: 195.5 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.3334, allocations: 111.6 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3345, allocations: 360.1 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009408/0.3354, allocations: 0.8777 MB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.3356, allocations: 92.25 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.336, allocations: 355.4 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003598/0.3364, allocations: 259.3 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.3365, allocations: 48 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.3367, allocations: 115.9 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.3372, allocations: 339.3 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.3375, allocations: 270.9 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008729/0.3384, allocations: 0.9151 MB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3384, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3384, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3384, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 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.001617/0.34, allocations: 0.9034 MB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3401, allocations: 12.02 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.3403, allocations: 56.66 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009786/0.3413, allocations: 0.5491 MB / 1.096 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.3413, allocations: 24.61 kB / 1.096 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.3414, allocations: 40.36 kB / 1.096 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004746/0.3419, allocations: 309.8 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3419, allocations: 0 / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.342, allocations: 8 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.342, allocations: 4 kB / 1.096 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.3423, allocations: 223.8 kB / 1.096 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.3444, allocations: 1.172 MB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006009/0.345, allocations: 475.7 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.3452, allocations: 178.6 kB / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.3452, allocations: 0 / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004392/0.3457, allocations: 338.6 kB / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.3457, allocations: 0 / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001005/0.3467, allocations: 0.6299 MB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.3468, allocations: 122.7 kB / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.3475, allocations: 0.5955 MB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.587e-05/0.3476, allocations: 41.7 kB / 1.1 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.3478, allocations: 221.5 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.3478, allocations: 51.62 kB / 1.1 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.3481, allocations: 185.5 kB / 1.1 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3483, allocations: 362.8 kB / 1.1 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.3484, allocations: 119.9 kB / 1.1 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/0.3492, allocations: 0.7137 MB / 1.101 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.3496, allocations: 309.3 kB / 1.101 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3496, allocations: 0 / 1.101 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006662/0.3503, allocations: 421.2 kB / 1.102 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3503, allocations: 12.06 kB / 1.102 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3503, allocations: 3.938 kB / 1.102 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.3503, allocations: 8 kB / 1.102 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.3505, allocations: 35.91 kB / 1.102 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3505, allocations: 8 kB / 1.102 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.3519, allocations: 127.9 kB / 1.102 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.3519, allocations: 19.94 kB / 1.102 GB, free: 2.516 MB / 0.8575 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.0003013/0.3522, allocations: 261.6 kB / 1.102 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.234e-05/0.3523, allocations: 43.72 kB / 1.102 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.241e-05/0.3524, allocations: 51.3 kB / 1.102 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3524, allocations: 8 kB / 1.102 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3524, allocations: 0 / 1.102 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3524, allocations: 4.25 kB / 1.102 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.3528, allocations: 405.3 kB / 1.103 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3528, allocations: 4 kB / 1.103 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.3528, allocations: 4 kB / 1.103 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3528, allocations: 0 / 1.103 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3529, allocations: 15.92 kB / 1.103 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.3529, allocations: 7.938 kB / 1.103 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3529, allocations: 0 / 1.103 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/0.3536, allocations: 0.5112 MB / 1.103 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.3537, allocations: 132.8 kB / 1.103 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.3537, allocations: 3.938 kB / 1.103 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3539, allocations: 19.98 kB / 1.103 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.354, allocations: 31.91 kB / 1.103 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.354, allocations: 15.98 kB / 1.103 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004816/0.3545, allocations: 435.1 kB / 1.104 GB, free: 500 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3545, allocations: 0 / 1.104 GB, free: 500 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004941/0.355, allocations: 107.9 kB / 1.104 GB, free: 392 kB / 0.8575 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.0002433/0.3553, allocations: 149.4 kB / 1.104 GB, free: 232 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005953/0.3559, allocations: 366.1 kB / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3559, allocations: 0 / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.3562, allocations: 187.8 kB / 1.105 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3565, allocations: 42.2 kB / 1.105 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.3577, allocations: 0.8418 MB / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.3581, allocations: 0.8354 MB / 1.106 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002246/0.3583, allocations: 90.94 kB / 1.106 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.3584, allocations: 35.42 kB / 1.106 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.3584, allocations: 0 / 1.106 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of Templates: time 0.01403/0.3725, allocations: 7.975 MB / 1.114 GB, free: 5.895 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches