Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.784/1.784, allocations: 291.7 MB / 306.8 MB, free: 7.656 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009864/0.0009861, allocations: 192.4 kB / 375.4 MB, free: 5.105 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 105.6 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004066, allocations: 16.78 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8185/0.819, allocations: 118.1 MB / 1.011 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001194/0.8202, allocations: 0.5518 MB / 1.011 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.8222, allocations: 1.405 MB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.8223, allocations: 8.656 kB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.8228, allocations: 187.3 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.8229, allocations: 108.5 kB / 1.013 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.8239, allocations: 316.1 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008298/0.8247, allocations: 0.6599 MB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.8249, allocations: 96.73 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.8253, allocations: 301.5 kB / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.8256, allocations: 224.8 kB / 1.015 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.8257, allocations: 13.09 kB / 1.015 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.826, allocations: 79.05 kB / 1.015 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003778/0.8264, allocations: 307.1 kB / 1.015 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.8265, allocations: 85.39 kB / 1.015 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.8272, allocations: 0.7038 MB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.8272, allocations: 3.156 kB / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8272, allocations: 0 / 1.016 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.8273, allocations: 0 / 1.016 GB, free: 57.45 MB / 0.7136 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.001243/0.8285, allocations: 0.7005 MB / 1.017 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.8286, allocations: 11 kB / 1.017 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.8287, allocations: 57.75 kB / 1.017 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007486/0.8295, allocations: 0.5335 MB / 1.017 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.8295, allocations: 23.45 kB / 1.017 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.8297, allocations: 41.22 kB / 1.017 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.8301, allocations: 305.6 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.8301, allocations: 3 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.8302, allocations: 10.94 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.8302, allocations: 2.5 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/0.8306, allocations: 223.4 kB / 1.018 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.8324, allocations: 1.192 MB / 1.019 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.833, allocations: 469.7 kB / 1.019 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.8332, allocations: 180.9 kB / 1.019 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.8332, allocations: 2.906 kB / 1.019 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.8337, allocations: 331.3 kB / 1.02 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.8337, allocations: 0 / 1.02 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.001051/0.8347, allocations: 0.6199 MB / 1.02 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.8348, allocations: 127.1 kB / 1.021 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007347/0.8356, allocations: 0.5906 MB / 1.021 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/0.8357, allocations: 45.84 kB / 1.021 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.8359, allocations: 222.5 kB / 1.021 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.8359, allocations: 48.36 kB / 1.021 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.836, allocations: 7.719 kB / 1.021 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8361, allocations: 362.2 kB / 1.022 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.8363, allocations: 125.2 kB / 1.022 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008094/0.8371, allocations: 0.7178 MB / 1.023 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.8375, allocations: 296.2 kB / 1.023 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.8375, allocations: 6.469 kB / 1.023 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006175/0.8381, allocations: 420.9 kB / 1.023 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.8382, allocations: 5.438 kB / 1.023 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.8382, allocations: 5.781 kB / 1.023 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.8382, allocations: 10.47 kB / 1.023 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.8384, allocations: 37 kB / 1.023 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.8384, allocations: 5.844 kB / 1.023 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.8396, allocations: 139.4 kB / 1.023 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.8397, allocations: 15.91 kB / 1.023 GB, free: 54.49 MB / 0.7136 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000316/0.84, allocations: 261.4 kB / 1.024 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.8401, allocations: 46.8 kB / 1.024 GB, free: 54.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.263e-05/0.8402, allocations: 54.77 kB / 1.024 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.8402, allocations: 3 kB / 1.024 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.8402, allocations: 2.969 kB / 1.024 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.8402, allocations: 3.984 kB / 1.024 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.8407, allocations: 404.4 kB / 1.024 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8407, allocations: 0 / 1.024 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.8407, allocations: 11.31 kB / 1.024 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.8407, allocations: 4.484 kB / 1.024 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.8408, allocations: 13.69 kB / 1.024 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.8408, allocations: 4.453 kB / 1.024 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.8408, allocations: 1.094 kB / 1.024 GB, free: 54.12 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/0.8416, allocations: 0.505 MB / 1.025 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.8418, allocations: 140.3 kB / 1.025 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.8418, allocations: 10.36 kB / 1.025 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.842, allocations: 19.62 kB / 1.025 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.8421, allocations: 30.3 kB / 1.025 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.8421, allocations: 12.06 kB / 1.025 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005237/0.8426, allocations: 436.3 kB / 1.025 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8427, allocations: 0 / 1.025 GB, free: 53.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004855/0.8431, allocations: 106.6 kB / 1.025 GB, free: 53.79 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000278/0.8434, allocations: 166 kB / 1.026 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005955/0.844, allocations: 346.7 kB / 1.026 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.844, allocations: 0 / 1.026 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.8443, allocations: 196.4 kB / 1.026 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.8446, allocations: 40.58 kB / 1.026 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.846, allocations: 0.8874 MB / 1.027 GB, free: 53.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.8465, allocations: 0.8404 MB / 1.028 GB, free: 52.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.8468, allocations: 93.77 kB / 1.028 GB, free: 52.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.8469, allocations: 39.64 kB / 1.028 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.8469, allocations: 0 / 1.028 GB, free: 52.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.01541/0.8623, allocations: 7.359 MB / 1.035 GB, free: 52.26 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)