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.001846/0.001846, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002429/0.002429, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.575/1.575, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.998/2.998, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 176] 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.306e-06/3.306e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.71e-05, allocations: 6.281 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002272/0.002309, allocations: 0.8145 MB / 1.001 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002557/0.004867, allocations: 1.482 MB / 1.002 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.004991, allocations: 4 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005895/0.005581, allocations: 203.3 kB / 1.003 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.005784, allocations: 119.5 kB / 1.003 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.007022, allocations: 368.4 kB / 1.003 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.008225, allocations: 0.8699 MB / 1.004 GB, free: 3.449 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.008413, allocations: 56.55 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007942/0.009207, allocations: 447.5 kB / 1.004 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005387/0.009746, allocations: 271.5 kB / 1.005 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.009991, allocations: 44 kB / 1.005 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003861/0.01038, allocations: 119.8 kB / 1.005 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005758/0.01095, allocations: 359.2 kB / 1.005 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.01142, allocations: 207.5 kB / 1.005 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.01296, allocations: 1.013 MB / 1.006 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.01297, allocations: 0 / 1.006 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01297, allocations: 4 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.88e-05/0.013, allocations: 4 kB / 1.006 GB, free: 0.9531 MB / 0.9512 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.002115/0.01511, allocations: 0.8241 MB / 1.007 GB, free: 92 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.01516, allocations: 15.98 kB / 1.007 GB, free: 76 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.01544, allocations: 56.64 kB / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009849/0.01642, allocations: 495.7 kB / 1.008 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.01645, allocations: 20.61 kB / 1.008 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.01659, allocations: 44.34 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.01713, allocations: 310.2 kB / 1.008 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01714, allocations: 4.188 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.01717, allocations: 8.375 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.01717, allocations: 4.375 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.01755, allocations: 223.7 kB / 1.008 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.01963, allocations: 0.9999 MB / 1.009 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.02036, allocations: 455.8 kB / 1.01 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.02064, allocations: 178.5 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.02065, allocations: 0 / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005219/0.02117, allocations: 340.8 kB / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=24): time 2.815e-06/0.02118, allocations: 0 / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24): time 0.001228/0.0224, allocations: 0.6221 MB / 1.011 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.02251, allocations: 114.8 kB / 1.011 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009116/0.02342, allocations: 0.5955 MB / 1.011 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.02354, allocations: 41.7 kB / 1.012 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.02383, allocations: 221.6 kB / 1.012 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.799e-05/0.0239, allocations: 51.62 kB / 1.012 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.02422, allocations: 189.5 kB / 1.012 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.02443, allocations: 362.7 kB / 1.012 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.02465, allocations: 135.9 kB / 1.012 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.02638, allocations: 1.773 MB / 1.014 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.02685, allocations: 304.4 kB / 1.014 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.02686, allocations: 4 kB / 1.014 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007832/0.02764, allocations: 416.9 kB / 1.015 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.02766, allocations: 8.375 kB / 1.015 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.02767, allocations: 8 kB / 1.015 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.0277, allocations: 4 kB / 1.015 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.02788, allocations: 39.86 kB / 1.015 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.02789, allocations: 7.984 kB / 1.015 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.02931, allocations: 131 kB / 1.015 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.02934, allocations: 20 kB / 1.015 GB, free: 7.293 MB / 0.9669 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.0003837/0.02972, allocations: 266.1 kB / 1.015 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.02981, allocations: 39.72 kB / 1.015 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.02991, allocations: 51.44 kB / 1.015 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.02991, allocations: 4 kB / 1.015 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.02992, allocations: 7.922 kB / 1.015 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.02992, allocations: 0 / 1.015 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.03032, allocations: 301 kB / 1.016 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03032, allocations: 0 / 1.016 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.03035, allocations: 11.94 kB / 1.016 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.03035, allocations: 0 / 1.016 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.302e-05/0.03039, allocations: 7.984 kB / 1.016 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.03039, allocations: 4 kB / 1.016 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.03039, allocations: 0 / 1.016 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.03121, allocations: 0.5241 MB / 1.016 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.03131, allocations: 47.69 kB / 1.016 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.52e-05/0.03136, allocations: 8 kB / 1.016 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.03154, allocations: 11.98 kB / 1.016 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.03164, allocations: 35.95 kB / 1.016 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.03167, allocations: 12 kB / 1.016 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005908/0.03226, allocations: 435.1 kB / 1.017 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.03226, allocations: 0 / 1.017 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005095/0.03277, allocations: 111.9 kB / 1.017 GB, free: 5.387 MB / 0.9669 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.0003033/0.03308, allocations: 149.7 kB / 1.017 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006725/0.03375, allocations: 351.6 kB / 1.017 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.03375, allocations: 0 / 1.017 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.03403, allocations: 171.8 kB / 1.018 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.03435, allocations: 34.08 kB / 1.018 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.03581, allocations: 0.8294 MB / 1.018 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.0361, allocations: 234.2 kB / 1.019 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.03634, allocations: 98.8 kB / 1.019 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.03645, allocations: 44.42 kB / 1.019 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of SimCode: time 5.01e-07/0.03645, allocations: 0 / 1.019 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.01707/0.05351, allocations: 8.585 MB / 1.027 GB, free: 10.97 MB / 0.9825 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: 8.853769231587648]