Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0109/0.0109, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001297/0.001297, allocations: 173.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.326/2.326, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.583/2.583, allocations: 252.8 MB / 0.511 GB, free: 8.395 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004925, allocations: 17.84 kB / 0.6244 GB, free: 28.21 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003882/0.2355, allocations: 2.054 MB / 0.7301 GB, free: 8.082 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.2389, allocations: 1.187 MB / 0.7313 GB, free: 6.887 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003511/0.2393, allocations: 11.88 kB / 0.7313 GB, free: 6.875 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0007919/0.2401, allocations: 283.2 kB / 0.7315 GB, free: 6.598 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0009169/0.241, allocations: 275.2 kB / 0.7318 GB, free: 6.328 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.2424, allocations: 303.4 kB / 0.7321 GB, free: 6.031 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.001077/0.2435, allocations: 415.1 kB / 0.7325 GB, free: 5.625 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.2437, allocations: 73.02 kB / 0.7326 GB, free: 5.551 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.2445, allocations: 274.9 kB / 0.7328 GB, free: 5.281 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.245, allocations: 227 kB / 0.733 GB, free: 5.059 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.2451, allocations: 12 kB / 0.7331 GB, free: 5.047 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.2453, allocations: 43.91 kB / 0.7331 GB, free: 5.004 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.2456, allocations: 159.5 kB / 0.7332 GB, free: 4.848 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.2458, allocations: 125.3 kB / 0.7334 GB, free: 4.719 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0008952/0.2467, allocations: 0.538 MB / 0.7339 GB, free: 4.18 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2467, allocations: 0 / 0.7339 GB, free: 4.18 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2467, allocations: 0 / 0.7339 GB, free: 4.18 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.2468, allocations: 0 / 0.7339 GB, free: 4.18 MB / 0.5574 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.001995/0.2488, allocations: 0.8709 MB / 0.7347 GB, free: 3.258 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.2488, allocations: 12.03 kB / 0.7348 GB, free: 3.246 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.249, allocations: 54.44 kB / 0.7348 GB, free: 3.184 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.2491, allocations: 71.06 kB / 0.7349 GB, free: 3.113 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.2505, allocations: 0.5502 MB / 0.7354 GB, free: 2.523 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.2506, allocations: 12 kB / 0.7354 GB, free: 2.512 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.2506, allocations: 15.98 kB / 0.7354 GB, free: 2.496 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.2513, allocations: 197.7 kB / 0.7356 GB, free: 2.281 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2513, allocations: 4 kB / 0.7356 GB, free: 2.277 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.2514, allocations: 7.984 kB / 0.7356 GB, free: 2.27 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.2514, allocations: 11.89 kB / 0.7356 GB, free: 2.258 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.2518, allocations: 95.88 kB / 0.7357 GB, free: 2.164 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.2538, allocations: 1.02 MB / 0.7367 GB, free: 1.078 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.255, allocations: 289.3 kB / 0.737 GB, free: 0.75 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 5.77e-05/0.2551, allocations: 8.078 kB / 0.737 GB, free: 0.7422 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/0.2558, allocations: 217.7 kB / 0.7372 GB, free: 0.5039 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=25): time 3.647e-06/0.2558, allocations: 0 / 0.7372 GB, free: 0.5039 MB / 0.5574 GB Notification: Performance of matching and sorting (n=25): time 0.00185/0.2577, allocations: 416.5 kB / 0.7376 GB, free: 92 kB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.258, allocations: 166.2 kB / 0.7378 GB, free: 15.89 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.2604, allocations: 0.9849 MB / 0.7387 GB, free: 14.89 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.2606, allocations: 41.7 kB / 0.7388 GB, free: 14.85 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.261, allocations: 276.8 kB / 0.739 GB, free: 14.57 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.2612, allocations: 79.08 kB / 0.7391 GB, free: 14.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.2613, allocations: 16 kB / 0.7391 GB, free: 14.48 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002482/0.2615, allocations: 382.8 kB / 0.7395 GB, free: 14.1 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007483/0.2623, allocations: 205.2 kB / 0.7397 GB, free: 13.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007951/0.2631, allocations: 299 kB / 0.74 GB, free: 13.57 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008084/0.2639, allocations: 235.9 kB / 0.7402 GB, free: 13.34 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.264, allocations: 4 kB / 0.7402 GB, free: 13.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002207/0.2662, allocations: 0.6571 MB / 0.7409 GB, free: 12.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.2663, allocations: 4 kB / 0.7409 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.2663, allocations: 4 kB / 0.7409 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.2663, allocations: 4 kB / 0.7409 GB, free: 12.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/0.2672, allocations: 115.8 kB / 0.741 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.2672, allocations: 12.09 kB / 0.741 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.2679, allocations: 47.67 kB / 0.741 GB, free: 12.49 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.268, allocations: 27.98 kB / 0.7411 GB, free: 12.46 MB / 0.573 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,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.000583/0.2686, allocations: 266.9 kB / 0.7413 GB, free: 12.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.2688, allocations: 79 kB / 0.7414 GB, free: 12.12 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.269, allocations: 65.59 kB / 0.7415 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.2691, allocations: 4 kB / 0.7415 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.2691, allocations: 4 kB / 0.7415 GB, free: 12.04 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.2691, allocations: 4 kB / 0.7415 GB, free: 12.04 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/0.2698, allocations: 457.2 kB / 0.7419 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2699, allocations: 4 kB / 0.7419 GB, free: 11.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.27, allocations: 16 kB / 0.7419 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.2701, allocations: 7.891 kB / 0.7419 GB, free: 11.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.2701, allocations: 15.98 kB / 0.7419 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.2701, allocations: 3.938 kB / 0.7419 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.2701, allocations: 7.984 kB / 0.742 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.2714, allocations: 434.3 kB / 0.7424 GB, free: 11.01 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.2717, allocations: 160.2 kB / 0.7425 GB, free: 10.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.2718, allocations: 8 kB / 0.7425 GB, free: 10.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.2722, allocations: 11.98 kB / 0.7425 GB, free: 10.81 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.2723, allocations: 31.86 kB / 0.7426 GB, free: 10.78 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.074e-05/0.2723, allocations: 19.98 kB / 0.7426 GB, free: 10.76 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001232/0.2736, allocations: 0.5693 MB / 0.7431 GB, free: 10.2 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2736, allocations: 4 kB / 0.7431 GB, free: 10.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0008097/0.2744, allocations: 111.8 kB / 0.7433 GB, free: 10.09 MB / 0.573 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.003303/0.2777, allocations: 1.633 MB / 0.7449 GB, free: 8.562 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.2793, allocations: 395.5 kB / 0.7452 GB, free: 8.176 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.2793, allocations: 3.938 kB / 0.7452 GB, free: 8.172 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004472/0.2798, allocations: 108.2 kB / 0.7453 GB, free: 8.066 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.2813, allocations: 176.7 kB / 0.7455 GB, free: 7.891 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.2854, allocations: 2.924 MB / 0.7484 GB, free: 4.863 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.2862, allocations: 0.9483 MB / 0.7493 GB, free: 3.887 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006021/0.2868, allocations: 101.5 kB / 0.7494 GB, free: 3.789 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.2874, allocations: 223.3 kB / 0.7496 GB, free: 3.57 MB / 0.573 GB Notification: Performance of SimCode: time 1.342e-06/0.2874, allocations: 0 / 0.7496 GB, free: 3.57 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/0.3495, allocations: 12.72 MB / 0.762 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003822/0.35, allocations: 246.9 kB / 0.7623 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/3.46, allocations: 0 / 0.7623 GB, free: 6.715 MB / 0.5886 GB