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.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.535/2.535, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001359/0.001359, allocations: 181.9 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.757/2.757, allocations: 225.6 MB / 0.6001 GB, free: 500 kB / 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.0009479/0.0009473, allocations: 99.11 kB / 0.7074 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004698, allocations: 19.94 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 109.1 MB / 0.9308 GB, free: 24.9 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001665/0.2075, allocations: 1.17 MB / 0.9319 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004881/0.208, allocations: 211.4 kB / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.208, allocations: 4 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.2081, allocations: 3.938 kB / 0.9321 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.2082, allocations: 7.938 kB / 0.9321 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.2083, allocations: 15.98 kB / 0.9321 GB, free: 23.48 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.188e-05/0.2085, allocations: 55.78 kB / 0.9322 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2086, allocations: 27.88 kB / 0.9322 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.2086, allocations: 19.92 kB / 0.9322 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.2087, allocations: 15.92 kB / 0.9323 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.2087, allocations: 4 kB / 0.9323 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.2088, allocations: 7.938 kB / 0.9323 GB, free: 23.35 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.2088, allocations: 11.92 kB / 0.9323 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.2088, allocations: 29.7 kB / 0.9323 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.979e-05/0.2089, allocations: 35.91 kB / 0.9323 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2089, allocations: 0 / 0.9323 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.209, allocations: 4 kB / 0.9324 GB, free: 23.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.209, allocations: 0 / 0.9324 GB, free: 23.26 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006006/0.2096, allocations: 383.6 kB / 0.9327 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2096, allocations: 8.031 kB / 0.9327 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.2097, allocations: 8.844 kB / 0.9327 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.2098, allocations: 176.3 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.2098, allocations: 384 / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.2099, allocations: 8.375 kB / 0.9329 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.2101, allocations: 66.23 kB / 0.933 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2101, allocations: 192 / 0.933 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2102, allocations: 7.922 kB / 0.933 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.2102, allocations: 4 kB / 0.933 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2105, allocations: 59.89 kB / 0.933 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.211, allocations: 304.7 kB / 0.9333 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.2117, allocations: 118.5 kB / 0.9334 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.2118, allocations: 32.97 kB / 0.9335 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.2119, allocations: 4 kB / 0.9335 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.2121, allocations: 99.3 kB / 0.9336 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.2122, allocations: 3.984 kB / 0.9336 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005888/0.2128, allocations: 141.5 kB / 0.9337 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.2128, allocations: 51.41 kB / 0.9338 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.874e-05/0.2129, allocations: 113.8 kB / 0.9339 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.213, allocations: 33.7 kB / 0.9339 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.213, allocations: 92.44 kB / 0.934 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.213, allocations: 19.75 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.2131, allocations: 4 kB / 0.934 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.2131, allocations: 326.8 kB / 0.9343 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.2133, allocations: 31.92 kB / 0.9344 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.2135, allocations: 63.41 kB / 0.9344 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.2137, allocations: 31.98 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2137, allocations: 0 / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004002/0.2141, allocations: 133.4 kB / 0.9346 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2141, allocations: 7.906 kB / 0.9346 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.2141, allocations: 4 kB / 0.9346 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2142, allocations: 0 / 0.9346 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2143, allocations: 15.98 kB / 0.9346 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2143, allocations: 96 / 0.9346 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.2145, allocations: 23.98 kB / 0.9346 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2145, allocations: 4 kB / 0.9346 GB, free: 20.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.207e-05/0.2146, allocations: 121.7 kB / 0.9347 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.2146, allocations: 7.906 kB / 0.9348 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.2146, allocations: 12.36 kB / 0.9348 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2147, allocations: 0 / 0.9348 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2147, allocations: 8 kB / 0.9348 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2147, allocations: 0 / 0.9348 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.2152, allocations: 370.4 kB / 0.9351 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2153, allocations: 4 kB / 0.9351 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.2154, allocations: 11.98 kB / 0.9351 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2154, allocations: 4 kB / 0.9351 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2154, allocations: 3.938 kB / 0.9351 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2154, allocations: 0 / 0.9351 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2154, allocations: 3.938 kB / 0.9352 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.2158, allocations: 215.8 kB / 0.9354 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.781e-05/0.2159, allocations: 85.02 kB / 0.9354 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.2159, allocations: 0 / 0.9354 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.2161, allocations: 15.98 kB / 0.9355 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.2161, allocations: 15.92 kB / 0.9355 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2162, allocations: 7.984 kB / 0.9355 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.2162, allocations: 91.41 kB / 0.9356 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2162, allocations: 0 / 0.9356 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002831/0.2165, allocations: 12 kB / 0.9356 GB, free: 19.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001263/0.2167, allocations: 115.7 kB / 0.9357 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.2171, allocations: 79.95 kB / 0.9358 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2171, allocations: 0 / 0.9358 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.2173, allocations: 43.97 kB / 0.9358 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.2176, allocations: 12.19 kB / 0.9358 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.2181, allocations: 178.6 kB / 0.936 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.2182, allocations: 0.6848 MB / 0.9367 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.2183, allocations: 3.984 kB / 0.9367 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.2183, allocations: 15.44 kB / 0.9367 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of SimCode: time 6.31e-07/0.2183, allocations: 0 / 0.9367 GB, free: 18.43 MB / 0.5886 GB Notification: Performance of Templates: time 0.003598/0.2219, allocations: 0.7334 MB / 0.9374 GB, free: 17.71 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)