Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 255.9 MB / 271.2 MB, free: 8.875 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.00105/0.00105, allocations: 181.8 kB / 330.8 MB, free: 460 kB / 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 1.611/1.611, allocations: 225.7 MB / 0.6016 GB, free: 1.613 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.000804/0.000804, allocations: 101.5 kB / 0.709 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003455, allocations: 12 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1984, allocations: 109.2 MB / 0.9328 GB, free: 6.207 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001323/0.1997, allocations: 1.091 MB / 0.9338 GB, free: 5.105 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0003561/0.2001, allocations: 183.6 kB / 0.934 GB, free: 4.926 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.2002, allocations: 4 kB / 0.934 GB, free: 4.922 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.2002, allocations: 3.938 kB / 0.934 GB, free: 4.918 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.324e-05/0.2003, allocations: 11.91 kB / 0.934 GB, free: 4.906 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.2004, allocations: 12 kB / 0.934 GB, free: 4.895 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.2005, allocations: 59.72 kB / 0.9341 GB, free: 4.836 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.2006, allocations: 8 kB / 0.9341 GB, free: 4.828 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/0.2007, allocations: 19.92 kB / 0.9341 GB, free: 4.809 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.2007, allocations: 15.92 kB / 0.9341 GB, free: 4.793 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.2007, allocations: 8 kB / 0.9341 GB, free: 4.785 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.2008, allocations: 4 kB / 0.9342 GB, free: 4.781 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.2008, allocations: 11.91 kB / 0.9342 GB, free: 4.77 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.2008, allocations: 41.64 kB / 0.9342 GB, free: 4.723 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 7.74e-05/0.2009, allocations: 47.8 kB / 0.9342 GB, free: 4.676 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2009, allocations: 0 / 0.9342 GB, free: 4.676 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2009, allocations: 7.984 kB / 0.9343 GB, free: 4.668 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2009, allocations: 0 / 0.9343 GB, free: 4.668 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00045/0.2014, allocations: 367.6 kB / 0.9346 GB, free: 4.258 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.2014, allocations: 11.98 kB / 0.9346 GB, free: 4.246 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.2015, allocations: 8.844 kB / 0.9346 GB, free: 4.238 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.788e-05/0.2015, allocations: 168.3 kB / 0.9348 GB, free: 4.035 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2016, allocations: 8.375 kB / 0.9348 GB, free: 4.027 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2016, allocations: 4.359 kB / 0.9348 GB, free: 4.023 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.273e-05/0.2017, allocations: 54.23 kB / 0.9349 GB, free: 3.965 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2017, allocations: 4.188 kB / 0.9349 GB, free: 3.961 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2017, allocations: 3.938 kB / 0.9349 GB, free: 3.957 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2017, allocations: 0 / 0.9349 GB, free: 3.957 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.836e-05/0.2018, allocations: 19.98 kB / 0.9349 GB, free: 3.938 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.2021, allocations: 288.7 kB / 0.9352 GB, free: 3.605 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.38e-05/0.2022, allocations: 42.52 kB / 0.9352 GB, free: 3.555 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.2022, allocations: 24.91 kB / 0.9352 GB, free: 3.527 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.2022, allocations: 0 / 0.9352 GB, free: 3.527 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.2024, allocations: 67.39 kB / 0.9353 GB, free: 3.449 MB / 0.573 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.2024, allocations: 0 / 0.9353 GB, free: 3.449 MB / 0.573 GB Notification: Performance of matching and sorting (n=7): time 0.0001717/0.2026, allocations: 89.67 kB / 0.9354 GB, free: 3.355 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.2026, allocations: 55.41 kB / 0.9354 GB, free: 3.289 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.2027, allocations: 117.8 kB / 0.9355 GB, free: 3.164 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2027, allocations: 33.7 kB / 0.9356 GB, free: 3.125 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.2027, allocations: 84.14 kB / 0.9356 GB, free: 3.039 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.2027, allocations: 15.75 kB / 0.9357 GB, free: 3.023 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.2028, allocations: 4 kB / 0.9357 GB, free: 3.02 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/0.2028, allocations: 314.8 kB / 0.936 GB, free: 2.703 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.2028, allocations: 12 kB / 0.936 GB, free: 2.691 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.2029, allocations: 42.5 kB / 0.936 GB, free: 2.641 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.727e-05/0.2029, allocations: 54.45 kB / 0.9361 GB, free: 2.578 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2029, allocations: 0 / 0.9361 GB, free: 2.578 MB / 0.573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.179e-05/0.203, allocations: 78.23 kB / 0.9361 GB, free: 2.496 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2031, allocations: 7.984 kB / 0.9362 GB, free: 2.488 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2031, allocations: 0 / 0.9362 GB, free: 2.488 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2031, allocations: 4 kB / 0.9362 GB, free: 2.484 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.678e-05/0.2031, allocations: 11.94 kB / 0.9362 GB, free: 2.473 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2032, allocations: 4.062 kB / 0.9362 GB, free: 2.469 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.2032, allocations: 23.88 kB / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2033, allocations: 80 / 0.9362 GB, free: 2.445 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.835e-05/0.2033, allocations: 122.3 kB / 0.9363 GB, free: 2.316 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.2033, allocations: 4 kB / 0.9363 GB, free: 2.312 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.2034, allocations: 12.36 kB / 0.9363 GB, free: 2.297 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2034, allocations: 4 kB / 0.9363 GB, free: 2.293 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2034, allocations: 4 kB / 0.9363 GB, free: 2.289 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2034, allocations: 0 / 0.9363 GB, free: 2.289 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.2035, allocations: 177.6 kB / 0.9365 GB, free: 2.066 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2035, allocations: 0 / 0.9365 GB, free: 2.066 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-06/0.2036, allocations: 3.984 kB / 0.9365 GB, free: 2.062 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2036, allocations: 0 / 0.9365 GB, free: 2.062 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2036, allocations: 0 / 0.9365 GB, free: 2.062 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2036, allocations: 7.984 kB / 0.9365 GB, free: 2.055 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2036, allocations: 4.125 kB / 0.9365 GB, free: 2.051 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.2037, allocations: 105 kB / 0.9366 GB, free: 1.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.2037, allocations: 88.94 kB / 0.9367 GB, free: 1.824 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2037, allocations: 4 kB / 0.9367 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.2038, allocations: 15.98 kB / 0.9367 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.2039, allocations: 7.984 kB / 0.9367 GB, free: 1.797 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.2039, allocations: 4 kB / 0.9367 GB, free: 1.793 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.2039, allocations: 87.27 kB / 0.9368 GB, free: 1.707 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2039, allocations: 4 kB / 0.9368 GB, free: 1.703 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001893/0.2041, allocations: 19.94 kB / 0.9368 GB, free: 1.684 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.827e-05/0.2042, allocations: 103.2 kB / 0.9369 GB, free: 1.574 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.2043, allocations: 39.92 kB / 0.937 GB, free: 1.535 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2043, allocations: 4 kB / 0.937 GB, free: 1.531 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.2044, allocations: 23.94 kB / 0.937 GB, free: 1.508 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.2046, allocations: 31.92 kB / 0.937 GB, free: 1.477 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.2049, allocations: 162.6 kB / 0.9372 GB, free: 1.285 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.205, allocations: 0.6848 MB / 0.9379 GB, free: 0.5742 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 3.505e-05/0.205, allocations: 7.781 kB / 0.9379 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.2051, allocations: 15.42 kB / 0.9379 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of SimCode: time 3e-07/0.2051, allocations: 0 / 0.9379 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of Templates: time 0.002567/0.2077, allocations: 0.7738 MB / 0.9386 GB, free: 15.79 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)