Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.67/1.67, allocations: 291.7 MB / 306.8 MB, free: 7.734 MB / 234.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.001113/0.001114, allocations: 192 kB / 375.4 MB, free: 5.152 MB / 298.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.542/1.542, allocations: 225.6 MB / 0.6538 GB, free: 13.72 MB / 490.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.001038/0.001038, allocations: 98.44 kB / 0.7699 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006255/0.0006257, allocations: 12 kB / 0.8956 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8111, allocations: 118.1 MB / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.00114/0.8123, allocations: 388.8 kB / 1.011 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.8146, allocations: 1.159 MB / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.8147, allocations: 0 / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.8148, allocations: 6.125 kB / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.8149, allocations: 7.453 kB / 1.012 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.8159, allocations: 198.3 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.8162, allocations: 131.3 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.8164, allocations: 12.17 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.8165, allocations: 61.61 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.8167, allocations: 48.31 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/0.8168, allocations: 8.969 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.8169, allocations: 23.14 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.817, allocations: 3.297 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.391e-05/0.817, allocations: 45.2 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.8172, allocations: 99.89 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8173, allocations: 1.969 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8173, allocations: 2.375 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8173, allocations: 0 / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005277/0.8178, allocations: 413.4 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8179, allocations: 13.2 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.818, allocations: 13.28 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.8181, allocations: 167.2 kB / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.8181, allocations: 5.875 kB / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.8182, allocations: 7.625 kB / 1.014 GB, free: 56.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.8184, allocations: 50.97 kB / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.8184, allocations: 192 / 1.014 GB, free: 56.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.8184, allocations: 8.875 kB / 1.014 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.8184, allocations: 0 / 1.014 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.186e-05/0.8185, allocations: 23.77 kB / 1.014 GB, free: 56.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.8191, allocations: 348.9 kB / 1.014 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.8192, allocations: 33.77 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.658e-05/0.8193, allocations: 17.77 kB / 1.014 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.8193, allocations: 2.938 kB / 1.014 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.8195, allocations: 86.55 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.8195, allocations: 0 / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003353/0.8199, allocations: 105.8 kB / 1.014 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.8199, allocations: 54.84 kB / 1.014 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.8201, allocations: 115.8 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.8201, allocations: 33.44 kB / 1.014 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.8202, allocations: 99.42 kB / 1.015 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.8202, allocations: 10.84 kB / 1.015 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.8202, allocations: 5.5 kB / 1.015 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.8203, allocations: 322.4 kB / 1.015 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.8205, allocations: 58.86 kB / 1.015 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.8207, allocations: 89.52 kB / 1.015 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.821, allocations: 161.2 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.821, allocations: 1.438 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000575/0.8216, allocations: 263.7 kB / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.8217, allocations: 70.06 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.8217, allocations: 3 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.8217, allocations: 0 / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.903e-05/0.8218, allocations: 6.594 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.8218, allocations: 6.391 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005668/0.8224, allocations: 75.48 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.8224, allocations: 15.67 kB / 1.016 GB, free: 55.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001079/0.8225, allocations: 124.8 kB / 1.016 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.8226, allocations: 6.219 kB / 1.016 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.8226, allocations: 10.91 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8226, allocations: 4.719 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8226, allocations: 0 / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.8227, allocations: 2.672 kB / 1.016 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.8228, allocations: 177.3 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8228, allocations: 3.062 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.8228, allocations: 1.562 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.8228, allocations: 0 / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.8229, allocations: 8.188 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.8229, allocations: 3.938 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.8229, allocations: 0 / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.8231, allocations: 119.4 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.908e-05/0.8231, allocations: 81.02 kB / 1.016 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.8232, allocations: 2.594 kB / 1.016 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.186e-05/0.8232, allocations: 5.75 kB / 1.016 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.8233, allocations: 4.453 kB / 1.016 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.8233, allocations: 7.219 kB / 1.016 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.8233, allocations: 92.36 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8234, allocations: 0 / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003718/0.8237, allocations: 26.5 kB / 1.016 GB, free: 55.02 MB / 0.7136 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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 (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.0001916/0.8239, allocations: 122.2 kB / 1.016 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.8243, allocations: 249.9 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8243, allocations: 0 / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.8244, allocations: 22.56 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.8248, allocations: 18.89 kB / 1.017 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.8252, allocations: 166.9 kB / 1.017 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.8253, allocations: 0.6857 MB / 1.017 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.202e-05/0.8254, allocations: 8.656 kB / 1.017 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.8254, allocations: 12.16 kB / 1.018 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.8254, allocations: 1.031 kB / 1.018 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of Templates: time 0.005336/0.8308, allocations: 1.697 MB / 1.019 GB, free: 53.88 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)