Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.31/2.31, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.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.001327/0.001326, allocations: 192 kB / 329.5 MB, free: 1.152 MB / 250.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 2.434/2.434, allocations: 225.6 MB / 0.6001 GB, free: 3.684 MB / 426.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.0009549/0.0009547, allocations: 102.8 kB / 0.7074 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005308, allocations: 14.44 kB / 0.8242 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2206, allocations: 109.1 MB / 0.9308 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001701/0.2223, allocations: 1.222 MB / 0.932 GB, free: 42.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006071/0.223, allocations: 272 kB / 0.9322 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.223, allocations: 0 / 0.9322 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.2231, allocations: 3.938 kB / 0.9322 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.2232, allocations: 11.92 kB / 0.9322 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.2234, allocations: 43.89 kB / 0.9323 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2236, allocations: 79.72 kB / 0.9324 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2237, allocations: 20.22 kB / 0.9324 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.2238, allocations: 31.84 kB / 0.9324 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.2239, allocations: 39.83 kB / 0.9324 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.2239, allocations: 4 kB / 0.9324 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.065e-05/0.2239, allocations: 4 kB / 0.9325 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.224, allocations: 11.92 kB / 0.9325 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.2241, allocations: 41.7 kB / 0.9325 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.2242, allocations: 63.84 kB / 0.9326 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2242, allocations: 3.938 kB / 0.9326 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2242, allocations: 0 / 0.9326 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2242, allocations: 0 / 0.9326 GB, free: 41.59 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.0007819/0.225, allocations: 424 kB / 0.933 GB, free: 41.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.225, allocations: 10.84 kB / 0.933 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.2251, allocations: 8.844 kB / 0.933 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2252, allocations: 176.3 kB / 0.9332 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.2253, allocations: 384 / 0.9332 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.2253, allocations: 12.38 kB / 0.9332 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.2257, allocations: 114.2 kB / 0.9333 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2258, allocations: 192 / 0.9333 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.2258, allocations: 3.938 kB / 0.9333 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2258, allocations: 0 / 0.9333 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006044/0.2264, allocations: 119.8 kB / 0.9334 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007187/0.2271, allocations: 364.6 kB / 0.9337 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.228, allocations: 162.5 kB / 0.9339 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.2283, allocations: 68.8 kB / 0.934 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.2284, allocations: 4 kB / 0.934 GB, free: 40 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.2288, allocations: 119.3 kB / 0.9341 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.736e-06/0.2289, allocations: 0 / 0.9341 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001061/0.2299, allocations: 237.3 kB / 0.9343 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.23, allocations: 51.41 kB / 0.9344 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2301, allocations: 122 kB / 0.9345 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.2301, allocations: 37.69 kB / 0.9345 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.2302, allocations: 92.14 kB / 0.9346 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.2302, allocations: 31.55 kB / 0.9346 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.2303, allocations: 0 / 0.9346 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.2303, allocations: 330.8 kB / 0.9349 GB, free: 38.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.2307, allocations: 63.95 kB / 0.935 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.231, allocations: 91.39 kB / 0.9351 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.2314, allocations: 68.33 kB / 0.9352 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2314, allocations: 3.938 kB / 0.9352 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007806/0.2322, allocations: 193.4 kB / 0.9353 GB, free: 38.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.2322, allocations: 8 kB / 0.9354 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2322, allocations: 0 / 0.9354 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2322, allocations: 0 / 0.9354 GB, free: 38.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.2325, allocations: 31.94 kB / 0.9354 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.2325, allocations: 8 kB / 0.9354 GB, free: 38.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.2328, allocations: 27.98 kB / 0.9354 GB, free: 38.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.2328, allocations: 4 kB / 0.9354 GB, free: 38.44 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.0001152/0.2329, allocations: 130.6 kB / 0.9355 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.2329, allocations: 7.906 kB / 0.9356 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/0.2337, allocations: 185.8 kB / 0.9357 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2337, allocations: 7.984 kB / 0.9357 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2338, allocations: 0 / 0.9357 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2338, allocations: 0 / 0.9357 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.2347, allocations: 462.2 kB / 0.9362 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2347, allocations: 0 / 0.9362 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.2349, allocations: 23.97 kB / 0.9362 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.892e-06/0.235, allocations: 4 kB / 0.9362 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.235, allocations: 7.938 kB / 0.9362 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.235, allocations: 3.984 kB / 0.9362 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.235, allocations: 3.938 kB / 0.9362 GB, free: 37.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.2363, allocations: 267.4 kB / 0.9365 GB, free: 37.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.2364, allocations: 81.02 kB / 0.9366 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.2364, allocations: 4 kB / 0.9366 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.2368, allocations: 35.91 kB / 0.9366 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.2369, allocations: 23.91 kB / 0.9366 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2369, allocations: 0 / 0.9366 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.237, allocations: 95.77 kB / 0.9367 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.5e-07/0.237, allocations: 0 / 0.9367 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003165/0.2373, allocations: 20 kB / 0.9367 GB, free: 37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (zeroCrossing.y,$whenCondition2,$whenCondition1,booPul1.pulseStart,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001365/0.2375, allocations: 118.9 kB / 0.9368 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007198/0.2382, allocations: 155.8 kB / 0.937 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2382, allocations: 0 / 0.937 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.2386, allocations: 71.89 kB / 0.9371 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.239, allocations: 20.98 kB / 0.9371 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.2397, allocations: 235.5 kB / 0.9373 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.2398, allocations: 0.7042 MB / 0.938 GB, free: 35.63 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.033e-05/0.2399, allocations: 8.5 kB / 0.938 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.679e-05/0.24, allocations: 15.42 kB / 0.938 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.112e-06/0.2401, allocations: 0 / 0.938 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.004711/0.2448, allocations: 1.143 MB / 0.9391 GB, free: 34.48 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.pipe 2>&1)