Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01871/0.01872, allocations: 222.7 kB / 15.17 MB, free: 5.918 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001944/0.001944, allocations: 178.8 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.22/4.22, allocations: 389.1 MB / 405.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.043/4.043, allocations: 472.3 MB / 0.9017 GB, free: 18.82 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006804/0.0006808, allocations: 17.22 kB / 1.008 GB, free: 13.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.247, allocations: 98.73 MB / 1.104 GB, free: 10.57 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003488/0.2506, allocations: 1.992 MB / 1.106 GB, free: 8.562 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.004358/0.255, allocations: 1.751 MB / 1.108 GB, free: 6.805 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003138/0.2554, allocations: 7.938 kB / 1.108 GB, free: 6.797 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007539/0.2561, allocations: 276 kB / 1.108 GB, free: 6.527 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006486/0.2568, allocations: 217.9 kB / 1.108 GB, free: 6.316 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.2579, allocations: 247.2 kB / 1.109 GB, free: 6.074 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.2595, allocations: 0.5413 MB / 1.109 GB, free: 5.531 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.26, allocations: 63.55 kB / 1.109 GB, free: 5.469 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007927/0.2608, allocations: 238.9 kB / 1.109 GB, free: 5.234 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007764/0.2616, allocations: 249 kB / 1.11 GB, free: 4.992 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.2618, allocations: 12 kB / 1.11 GB, free: 4.98 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009406/0.2628, allocations: 130.8 kB / 1.11 GB, free: 4.855 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003762/0.2632, allocations: 159.4 kB / 1.11 GB, free: 4.699 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.2635, allocations: 125.3 kB / 1.11 GB, free: 4.57 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.2653, allocations: 0.6432 MB / 1.111 GB, free: 3.926 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.2653, allocations: 0 / 1.111 GB, free: 3.926 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.076e-06/0.2653, allocations: 0 / 1.111 GB, free: 3.926 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.2654, allocations: 0 / 1.111 GB, free: 3.926 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.002696/0.2681, allocations: 1.143 MB / 1.112 GB, free: 2.672 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.816e-05/0.2682, allocations: 13.28 kB / 1.112 GB, free: 2.66 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.2683, allocations: 42.55 kB / 1.112 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.2687, allocations: 68.31 kB / 1.112 GB, free: 2.543 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.2706, allocations: 0.5387 MB / 1.112 GB, free: 1.965 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.2707, allocations: 16.91 kB / 1.112 GB, free: 1.949 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.2708, allocations: 16 kB / 1.112 GB, free: 1.934 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/0.2718, allocations: 206.1 kB / 1.113 GB, free: 1.715 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.2718, allocations: 3.953 kB / 1.113 GB, free: 1.711 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-05/0.2719, allocations: 8 kB / 1.113 GB, free: 1.703 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2719, allocations: 1.438 kB / 1.113 GB, free: 1.703 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.2727, allocations: 111.8 kB / 1.113 GB, free: 1.594 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.2754, allocations: 1.082 MB / 1.114 GB, free: 460 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.2773, allocations: 289 kB / 1.114 GB, free: 124 kB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.2779, allocations: 108.2 kB / 1.114 GB, free: 0 / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.2781, allocations: 8.047 kB / 1.114 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.2791, allocations: 225.8 kB / 1.114 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 5.28e-06/0.2792, allocations: 4 kB / 1.114 GB, free: 15.74 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.002713/0.2819, allocations: 440.7 kB / 1.115 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.2821, allocations: 158.2 kB / 1.115 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.285, allocations: 0.9261 MB / 1.116 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.2852, allocations: 37.7 kB / 1.116 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.2857, allocations: 280.8 kB / 1.116 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.2859, allocations: 67.17 kB / 1.116 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.286, allocations: 8 kB / 1.116 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0003163/0.2863, allocations: 386.7 kB / 1.117 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008211/0.2872, allocations: 128.8 kB / 1.117 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009275/0.2881, allocations: 217.8 kB / 1.117 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2892, allocations: 296.4 kB / 1.117 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.2892, allocations: 3.938 kB / 1.117 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002775/0.292, allocations: 0.6297 MB / 1.118 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002252/0.2923, allocations: 160.5 kB / 1.118 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.2923, allocations: 4 kB / 1.118 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.2924, allocations: 4 kB / 1.118 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.2931, allocations: 59.91 kB / 1.118 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/0.2931, allocations: 7.984 kB / 1.118 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.294, allocations: 55.69 kB / 1.118 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.2941, allocations: 23.98 kB / 1.118 GB, free: 11.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.0007601/0.2949, allocations: 270.9 kB / 1.118 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.2952, allocations: 71.14 kB / 1.118 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.2955, allocations: 69.42 kB / 1.119 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.2955, allocations: 4 kB / 1.119 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.2956, allocations: 0 / 1.119 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.2956, allocations: 4 kB / 1.119 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.2967, allocations: 457.1 kB / 1.119 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.2968, allocations: 4 kB / 1.119 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.297, allocations: 23.92 kB / 1.119 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/0.2971, allocations: 4 kB / 1.119 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.2972, allocations: 11.94 kB / 1.119 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/0.2972, allocations: 7.938 kB / 1.119 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.2972, allocations: 0 / 1.119 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.2991, allocations: 398.8 kB / 1.119 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.2997, allocations: 200 kB / 1.12 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.2999, allocations: 8 kB / 1.12 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.3004, allocations: 15.98 kB / 1.12 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3006, allocations: 27.91 kB / 1.12 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/0.3007, allocations: 19.98 kB / 1.12 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001956/0.3026, allocations: 0.6513 MB / 1.12 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.212e-06/0.3027, allocations: 0 / 1.12 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00124/0.3039, allocations: 136 kB / 1.12 GB, free: 9.238 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00782/0.3118, allocations: 1.991 MB / 1.122 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00241/0.3142, allocations: 0.6765 MB / 1.123 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.3143, allocations: 0 / 1.123 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.3151, allocations: 109 kB / 1.123 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/0.3173, allocations: 174.6 kB / 1.123 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.3326, allocations: 3.893 MB / 1.127 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009741/0.3337, allocations: 0.9288 MB / 1.128 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0007178/0.3344, allocations: 96.48 kB / 1.128 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007109/0.3352, allocations: 207.4 kB / 1.128 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of SimCode: time 1.654e-06/0.3352, allocations: 0 / 1.128 GB, free: 1.438 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05307/0.3883, allocations: 14.52 MB / 1.142 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/0.3887, allocations: 288.8 kB / 1.143 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.328/3.717, allocations: 0 / 1.143 GB, free: 2.738 MB / 0.6042 GB