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.Logical.Validation.ZeroCrossing.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.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00617/0.00617, allocations: 237.3 kB / 15.8 MB, free: 6.316 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.001701/0.001702, allocations: 179.7 kB / 16.68 MB, free: 5.473 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.357/4.357, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.281/4.281, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006553, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1892, allocations: 98.73 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001793/0.1911, allocations: 1.218 MB / 1.106 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00066/0.1918, allocations: 276.8 kB / 1.106 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.1919, allocations: 3.5 kB / 1.106 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.1919, allocations: 3.938 kB / 1.106 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.192, allocations: 7.922 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.1922, allocations: 35.89 kB / 1.106 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1923, allocations: 79.77 kB / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1925, allocations: 22.84 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.626e-05/0.1926, allocations: 35.84 kB / 1.106 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.1926, allocations: 31.84 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1927, allocations: 4 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.1927, allocations: 7.938 kB / 1.106 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.1927, allocations: 23.91 kB / 1.106 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.1928, allocations: 33.7 kB / 1.106 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.75e-05/0.1929, allocations: 59.84 kB / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1929, allocations: 7.469 kB / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1929, allocations: 0 / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1929, allocations: 0 / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007683/0.1937, allocations: 406.7 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1938, allocations: 8.031 kB / 1.107 GB, free: 39.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1938, allocations: 15.86 kB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1939, allocations: 174.9 kB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.194, allocations: 11.98 kB / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.194, allocations: 6.344 kB / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.1944, allocations: 109.8 kB / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1945, allocations: 0 / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.1945, allocations: 0 / 1.107 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.1945, allocations: 7.953 kB / 1.107 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005797/0.1951, allocations: 121.7 kB / 1.107 GB, free: 39.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007634/0.1959, allocations: 361 kB / 1.108 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.1967, allocations: 160.2 kB / 1.108 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.197, allocations: 72.77 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.197, allocations: 3.375 kB / 1.108 GB, free: 38.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/0.1975, allocations: 115.3 kB / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 3.456e-06/0.1975, allocations: 3.375 kB / 1.108 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001021/0.1985, allocations: 238.1 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1986, allocations: 51.41 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.1987, allocations: 127.3 kB / 1.108 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1987, allocations: 29.7 kB / 1.108 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.1988, allocations: 100.7 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.1988, allocations: 23.7 kB / 1.108 GB, free: 37.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.1989, allocations: 7.5 kB / 1.108 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.1989, allocations: 322.8 kB / 1.109 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.1993, allocations: 63.89 kB / 1.109 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.1996, allocations: 95.7 kB / 1.109 GB, free: 37.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.2, allocations: 59.83 kB / 1.109 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2, allocations: 7.875 kB / 1.109 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007436/0.2007, allocations: 196.4 kB / 1.109 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2008, allocations: 4.781 kB / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2008, allocations: 0 / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2008, allocations: 7.516 kB / 1.109 GB, free: 37.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.201, allocations: 27.97 kB / 1.109 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2011, allocations: 3.938 kB / 1.109 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002267/0.2013, allocations: 33.95 kB / 1.109 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.2013, allocations: 7.984 kB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * 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.0001072/0.2015, allocations: 122.4 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.2015, allocations: 11.86 kB / 1.109 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.2022, allocations: 186 kB / 1.11 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2022, allocations: 4 kB / 1.11 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2022, allocations: 0 / 1.11 GB, free: 36.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.2023, allocations: 84.95 kB / 1.11 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.2023, allocations: 8 kB / 1.11 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2025, allocations: 26.5 kB / 1.11 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.2026, allocations: 16.77 kB / 1.11 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008328/0.2035, allocations: 278.9 kB / 1.11 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007071/0.2042, allocations: 345.8 kB / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003167/0.2045, allocations: 70.02 kB / 1.11 GB, free: 36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.527e-05/0.2046, allocations: 97.27 kB / 1.11 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of Backend: time 9.22e-07/0.2046, allocations: 0 / 1.11 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007713/0.2054, allocations: 182.7 kB / 1.111 GB, free: 35.73 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0006153/0.206, allocations: 0.6446 MB / 1.111 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.004905/0.211, allocations: 1.306 MB / 1.113 GB, free: 33.79 MB / 0.6042 GB