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.Discrete.Examples.FirstOrderHold.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: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004209/0.004213, allocations: 230.8 kB / 15.8 MB, free: 6.285 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.001205/0.001205, allocations: 182.5 kB / 16.69 MB, free: 5.445 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 3.439/3.439, allocations: 389.1 MB / 406.5 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.851/4.851, allocations: 472.3 MB / 0.9023 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006632/0.0006635, allocations: 12 kB / 1.008 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2198, allocations: 98.7 MB / 1.105 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.002066/0.2219, allocations: 1.108 MB / 1.106 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.2227, allocations: 240.1 kB / 1.106 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.2228, allocations: 0 / 1.106 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.2228, allocations: 7.938 kB / 1.106 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.644e-05/0.2229, allocations: 7.969 kB / 1.106 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.2232, allocations: 19.92 kB / 1.106 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.2233, allocations: 55.91 kB / 1.106 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2234, allocations: 11.92 kB / 1.106 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.2235, allocations: 19.97 kB / 1.106 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.2236, allocations: 35.84 kB / 1.106 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.2237, allocations: 7.938 kB / 1.106 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.2237, allocations: 7.938 kB / 1.106 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.2237, allocations: 7.984 kB / 1.106 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.2238, allocations: 37.64 kB / 1.106 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.2239, allocations: 51.88 kB / 1.106 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2239, allocations: 0 / 1.106 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2239, allocations: 0 / 1.106 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2239, allocations: 0 / 1.106 GB, free: 2.277 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000802/0.2248, allocations: 375.4 kB / 1.107 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.2248, allocations: 8.031 kB / 1.107 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.2249, allocations: 8 kB / 1.107 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.2251, allocations: 174.9 kB / 1.107 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.2251, allocations: 4 kB / 1.107 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.2251, allocations: 8 kB / 1.107 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.2255, allocations: 89.64 kB / 1.107 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2255, allocations: 7.922 kB / 1.107 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2256, allocations: 0 / 1.107 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2256, allocations: 0 / 1.107 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.226, allocations: 67.95 kB / 1.107 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.2267, allocations: 304.8 kB / 1.107 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.227, allocations: 98.45 kB / 1.107 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.2273, allocations: 48.83 kB / 1.107 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.2273, allocations: 0 / 1.107 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.2277, allocations: 91.38 kB / 1.107 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 2.475e-06/0.2277, allocations: 0 / 1.107 GB, free: 0.8516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0008224/0.2285, allocations: 193.6 kB / 1.108 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.2286, allocations: 55.77 kB / 1.108 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2287, allocations: 101.9 kB / 1.108 GB, free: 492 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.2288, allocations: 37.69 kB / 1.108 GB, free: 448 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.2288, allocations: 88.28 kB / 1.108 GB, free: 352 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.2289, allocations: 31.58 kB / 1.108 GB, free: 320 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.2289, allocations: 8 kB / 1.108 GB, free: 312 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2291, allocations: 314.8 kB / 1.108 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.2293, allocations: 47.91 kB / 1.108 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.2296, allocations: 67.41 kB / 1.108 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.2298, allocations: 51.97 kB / 1.108 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2298, allocations: 0 / 1.108 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005781/0.2304, allocations: 157.7 kB / 1.109 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.2305, allocations: 4 kB / 1.109 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2305, allocations: 0 / 1.109 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.2305, allocations: 4 kB / 1.109 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2307, allocations: 23.92 kB / 1.109 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.2308, allocations: 0 / 1.109 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.2309, allocations: 15.84 kB / 1.109 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2309, allocations: 12 kB / 1.109 GB, free: 15.59 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.firOrdHol.firstTrigger,firOrdHol.firstTrigger,$whenCondition1,firOrdHol.sampleTrigger,$PRE.firOrdHol.tSample,firOrdHol.tSample,$PRE.firOrdHol.uSample,firOrdHol.uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.pre_uSample,$PRE.firOrdHol.c,firOrdHol.c) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001532/0.2311, allocations: 133.7 kB / 1.109 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.2311, allocations: 7.906 kB / 1.109 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006075/0.2317, allocations: 146 kB / 1.109 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.2318, allocations: 11.94 kB / 1.109 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2318, allocations: 0 / 1.109 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.2318, allocations: 77.11 kB / 1.109 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.2319, allocations: 0 / 1.109 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.232, allocations: 23.94 kB / 1.109 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.2321, allocations: 3.984 kB / 1.109 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006497/0.2328, allocations: 236.8 kB / 1.109 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00063/0.2334, allocations: 327 kB / 1.109 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002248/0.2337, allocations: 47.97 kB / 1.11 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.2337, allocations: 87.27 kB / 1.11 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of Backend: time 6.52e-07/0.2338, allocations: 4 kB / 1.11 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007192/0.2345, allocations: 142.3 kB / 1.11 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of SimCode: time 0.0007087/0.2352, allocations: 0.6076 MB / 1.11 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of Templates: time 0.004425/0.2397, allocations: 0.8376 MB / 1.111 GB, free: 12.82 MB / 0.7605 GB