Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001166/0.001166, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001475/0.001475, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8861/0.8861, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.785/1.785, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.252e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001539/0.001572, allocations: 0.8188 MB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.003161, allocations: 1.471 MB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.134e-05/0.003252, allocations: 7.938 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.003698, allocations: 203.3 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.003805, allocations: 115.5 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008225/0.004628, allocations: 365.3 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.005336, allocations: 0.8776 MB / 1.005 GB, free: 9.145 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.005493, allocations: 56.55 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000491/0.005984, allocations: 447.4 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.00638, allocations: 267.5 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.006495, allocations: 48 kB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.006734, allocations: 119.8 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.007048, allocations: 363.2 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.007493, allocations: 203.5 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0008845/0.008378, allocations: 1.021 MB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.008382, allocations: 0 / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.874e-06/0.008384, allocations: 0 / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.008392, allocations: 0 / 1.007 GB, free: 6.648 MB / 0.9636 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.001112/0.009504, allocations: 0.8242 MB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.009541, allocations: 12.03 kB / 1.008 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.009683, allocations: 56.64 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005712/0.01025, allocations: 499.7 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.01028, allocations: 20.61 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.307e-05/0.01035, allocations: 36.38 kB / 1.009 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.0107, allocations: 310.2 kB / 1.009 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01071, allocations: 4.125 kB / 1.009 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.01073, allocations: 4.359 kB / 1.009 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01073, allocations: 8.375 kB / 1.009 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.01097, allocations: 219.8 kB / 1.009 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.01215, allocations: 0.9922 MB / 1.01 GB, free: 3.57 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.01262, allocations: 463.7 kB / 1.01 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.01278, allocations: 174.6 kB / 1.011 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.0128, allocations: 4 kB / 1.011 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.01314, allocations: 334.9 kB / 1.011 GB, free: 2.559 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.01314, allocations: 4 kB / 1.011 GB, free: 2.555 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24): time 0.0007432/0.01388, allocations: 0.6304 MB / 1.012 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.01395, allocations: 122.7 kB / 1.012 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.01443, allocations: 0.5955 MB / 1.012 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.01449, allocations: 45.69 kB / 1.012 GB, free: 1.113 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.01464, allocations: 217.6 kB / 1.012 GB, free: 0.8984 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.01468, allocations: 51.64 kB / 1.013 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.01484, allocations: 181.5 kB / 1.013 GB, free: 0.6641 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003848/0.01523, allocations: 366.7 kB / 1.013 GB, free: 304 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.01536, allocations: 123.9 kB / 1.013 GB, free: 180 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.01619, allocations: 1.781 MB / 1.015 GB, free: 13.96 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.01645, allocations: 312.4 kB / 1.015 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01645, allocations: 4 kB / 1.015 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004419/0.01689, allocations: 420.9 kB / 1.016 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01691, allocations: 4 kB / 1.016 GB, free: 13.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.01692, allocations: 4 kB / 1.016 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01693, allocations: 8.375 kB / 1.016 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.01705, allocations: 35.92 kB / 1.016 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.01706, allocations: 7.938 kB / 1.016 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.01769, allocations: 131.8 kB / 1.016 GB, free: 13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.0177, allocations: 16 kB / 1.016 GB, free: 12.99 MB / 0.9792 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.0002212/0.01793, allocations: 265.6 kB / 1.016 GB, free: 12.72 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.01797, allocations: 43.72 kB / 1.016 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.01803, allocations: 51.42 kB / 1.016 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01803, allocations: 4 kB / 1.016 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.01803, allocations: 0 / 1.016 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01804, allocations: 0 / 1.016 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.01827, allocations: 293.3 kB / 1.016 GB, free: 12.31 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01827, allocations: 8 kB / 1.016 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.01829, allocations: 15.92 kB / 1.016 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.01829, allocations: 4 kB / 1.016 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.0183, allocations: 4 kB / 1.016 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01831, allocations: 0 / 1.016 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01831, allocations: 0 / 1.016 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004641/0.01877, allocations: 0.5158 MB / 1.017 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.01883, allocations: 59.58 kB / 1.017 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.01886, allocations: 3.984 kB / 1.017 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.01895, allocations: 15.98 kB / 1.017 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.01901, allocations: 31.97 kB / 1.017 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.01903, allocations: 15.98 kB / 1.017 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0003427/0.01937, allocations: 435.1 kB / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01937, allocations: 0 / 1.018 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003298/0.0197, allocations: 111.9 kB / 1.018 GB, free: 11.08 MB / 0.9792 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.0002113/0.01991, allocations: 157.5 kB / 1.018 GB, free: 10.92 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.02033, allocations: 352 kB / 1.018 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02033, allocations: 0 / 1.018 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002053/0.02053, allocations: 199.8 kB / 1.018 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.02078, allocations: 32.38 kB / 1.018 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/0.02172, allocations: 0.8736 MB / 1.019 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.02188, allocations: 229.8 kB / 1.019 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.02195, allocations: 44.48 kB / 1.019 GB, free: 9.141 MB / 0.9792 GB Notification: Performance of SimCode: time 1.052e-06/0.02195, allocations: 0 / 1.019 GB, free: 9.141 MB / 0.9792 GB Notification: Performance of Templates: time 0.00714/0.02909, allocations: 7.12 MB / 1.026 GB, free: 2.145 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.207983671687543]