Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.001353/0.001353, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001343/0.001343, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 2.037/2.037, allocations: 429.5 MB / 0.6733 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.785e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001268/0.001285, allocations: 0.6951 MB / 0.8789 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.002793, allocations: 1.383 MB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.002857, allocations: 3.938 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.003294, allocations: 193.5 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.003375, allocations: 105.9 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.00388, allocations: 237.3 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.00426, allocations: 490.2 kB / 0.8812 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.004298, allocations: 7.984 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.004498, allocations: 251.7 kB / 0.8814 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002644/0.004763, allocations: 227.6 kB / 0.8817 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.004823, allocations: 20.72 kB / 0.8817 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.005007, allocations: 95.78 kB / 0.8818 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.005278, allocations: 280.8 kB / 0.882 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.005385, allocations: 111.8 kB / 0.8822 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.005817, allocations: 418.8 kB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005819, allocations: 4 kB / 0.8826 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.00582, allocations: 3.938 kB / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.005826, allocations: 0 / 0.8826 GB, free: 1.84 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007333/0.00656, allocations: 0.6668 MB / 0.8832 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006597, allocations: 12.03 kB / 0.8832 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.006701, allocations: 44.73 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.006998, allocations: 284.6 kB / 0.8835 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.007015, allocations: 20.36 kB / 0.8836 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.007057, allocations: 20.38 kB / 0.8836 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.007247, allocations: 133.2 kB / 0.8837 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.007255, allocations: 4.125 kB / 0.8837 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.007269, allocations: 384 / 0.8837 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.007279, allocations: 4.375 kB / 0.8837 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.63e-05/0.007345, allocations: 43.91 kB / 0.8838 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.007607, allocations: 283.9 kB / 0.884 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.007842, allocations: 193.2 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.00792, allocations: 75.03 kB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-06/0.007924, allocations: 0 / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.008177, allocations: 258.3 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 9.62e-07/0.008178, allocations: 0 / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.000496/0.008674, allocations: 381.3 kB / 0.8849 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.008724, allocations: 110.8 kB / 0.885 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.008983, allocations: 382.2 kB / 0.8854 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.009027, allocations: 49.62 kB / 0.8854 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.009144, allocations: 203.5 kB / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.009181, allocations: 39.73 kB / 0.8856 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.009293, allocations: 123.3 kB / 0.8858 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.009431, allocations: 0.5274 MB / 0.8863 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.009495, allocations: 55.97 kB / 0.8863 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.009941, allocations: 1.066 MB / 0.8874 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.01013, allocations: 250.8 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.01014, allocations: 3.984 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002869/0.01042, allocations: 273.2 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01044, allocations: 8 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01045, allocations: 4 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.01046, allocations: 4 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.01059, allocations: 48.03 kB / 0.8879 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.0106, allocations: 15.88 kB / 0.8879 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.01088, allocations: 56.39 kB / 0.888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01089, allocations: 16 kB / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001236/0.01102, allocations: 190.7 kB / 0.8882 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.01106, allocations: 35.81 kB / 0.8882 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.01109, allocations: 25.95 kB / 0.8883 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.0111, allocations: 4 kB / 0.8883 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.0111, allocations: 0 / 0.8883 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01111, allocations: 3.938 kB / 0.8883 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.01127, allocations: 224.5 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01127, allocations: 0 / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.01128, allocations: 4 kB / 0.8885 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01128, allocations: 8 kB / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01129, allocations: 7.984 kB / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.0113, allocations: 0 / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0113, allocations: 0 / 0.8885 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.01162, allocations: 375.2 kB / 0.8889 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.01164, allocations: 23.8 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.01166, allocations: 8 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.01171, allocations: 3.984 kB / 0.8889 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.01175, allocations: 23.92 kB / 0.8889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.01177, allocations: 15.98 kB / 0.8889 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001518/0.01193, allocations: 251 kB / 0.8892 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01193, allocations: 4 kB / 0.8892 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002546/0.01218, allocations: 75.94 kB / 0.8892 GB, free: 10.24 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001599/0.01234, allocations: 147.9 kB / 0.8894 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.0126, allocations: 188.5 kB / 0.8896 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.0126, allocations: 192 / 0.8896 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.354e-05/0.01269, allocations: 101.6 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01289, allocations: 35.08 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.01341, allocations: 486.6 kB / 0.8902 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.905e-05/0.01347, allocations: 100.2 kB / 0.8903 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.665e-05/0.01354, allocations: 41.92 kB / 0.8903 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.01359, allocations: 28.5 kB / 0.8903 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.01359, allocations: 0 / 0.8903 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.007152/0.02074, allocations: 5.798 MB / 0.896 GB, free: 3.398 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.39994507888332]