Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.836/1.836, allocations: 297.4 MB / 312.6 MB, free: 2.902 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.001884/0.001885, allocations: 185.5 kB / 382.3 MB, free: 14.81 MB / 314.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.83/1.83, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.000927/0.0009267, allocations: 87.16 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004191, allocations: 12 kB / 0.9059 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.7411, allocations: 119.2 MB / 1.022 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.001296/0.7425, allocations: 438.4 kB / 1.023 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.745, allocations: 1.599 MB / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.7452, allocations: 0 / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.7452, allocations: 0 / 1.024 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.7453, allocations: 18.84 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.7463, allocations: 288.8 kB / 1.025 GB, free: 57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.7466, allocations: 224 kB / 1.025 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.7468, allocations: 16.73 kB / 1.025 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.747, allocations: 88.78 kB / 1.025 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.7472, allocations: 72 kB / 1.025 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.782e-05/0.7473, allocations: 12.38 kB / 1.025 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.7474, allocations: 29.42 kB / 1.025 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.7474, allocations: 6.609 kB / 1.025 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.7476, allocations: 99.45 kB / 1.025 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.748, allocations: 208.6 kB / 1.025 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.748, allocations: 3.688 kB / 1.025 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/0.748, allocations: 0 / 1.025 GB, free: 56.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.748, allocations: 0 / 1.025 GB, free: 56.76 MB / 0.698 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.0005082/0.7486, allocations: 456.8 kB / 1.026 GB, free: 56.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.7486, allocations: 9.969 kB / 1.026 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.7487, allocations: 16.84 kB / 1.026 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/0.7488, allocations: 173.1 kB / 1.026 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.7488, allocations: 5.656 kB / 1.026 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.538e-05/0.7489, allocations: 19.02 kB / 1.026 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.749, allocations: 63.66 kB / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.749, allocations: 5.016 kB / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.7491, allocations: 0 / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7491, allocations: 3.656 kB / 1.026 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.7491, allocations: 18.94 kB / 1.026 GB, free: 56.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.7497, allocations: 413.8 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.7498, allocations: 38.89 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.7498, allocations: 21.05 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.7498, allocations: 0 / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.75, allocations: 100.4 kB / 1.027 GB, free: 55.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.75, allocations: 3.938 kB / 1.027 GB, free: 55.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0002714/0.7503, allocations: 139.1 kB / 1.027 GB, free: 55.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.7503, allocations: 58.78 kB / 1.027 GB, free: 55.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.7504, allocations: 134.2 kB / 1.027 GB, free: 55.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.7505, allocations: 35.42 kB / 1.027 GB, free: 55.31 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.7505, allocations: 100.2 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.7506, allocations: 23.52 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.7506, allocations: 5.062 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.7507, allocations: 325.2 kB / 1.027 GB, free: 54.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.7509, allocations: 88.39 kB / 1.027 GB, free: 54.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.7511, allocations: 135.8 kB / 1.028 GB, free: 54.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.7513, allocations: 243.2 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7513, allocations: 1.375 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005693/0.7519, allocations: 369.6 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/0.752, allocations: 102.8 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.752, allocations: 1.094 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.752, allocations: 3.375 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.391e-05/0.752, allocations: 7.344 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.7521, allocations: 4.719 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.7526, allocations: 118 kB / 1.028 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.7526, allocations: 20.3 kB / 1.028 GB, free: 54.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 0.000103/0.7528, allocations: 133.8 kB / 1.029 GB, free: 54.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.7528, allocations: 13.69 kB / 1.029 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.7528, allocations: 9.562 kB / 1.029 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7528, allocations: 1.094 kB / 1.029 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7528, allocations: 2.688 kB / 1.029 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7528, allocations: 0 / 1.029 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.753, allocations: 190.9 kB / 1.029 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.753, allocations: 0 / 1.029 GB, free: 53.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.237e-05/0.753, allocations: 8.594 kB / 1.029 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.753, allocations: 1.438 kB / 1.029 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.753, allocations: 3.719 kB / 1.029 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.753, allocations: 3.531 kB / 1.029 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.753, allocations: 4 kB / 1.029 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.7532, allocations: 142.6 kB / 1.029 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.7532, allocations: 85.94 kB / 1.029 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.7533, allocations: 3.719 kB / 1.029 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.427e-05/0.7533, allocations: 0.6562 kB / 1.029 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.7533, allocations: 10.75 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.7534, allocations: 4.031 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.7534, allocations: 100.7 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.32e-07/0.7534, allocations: 0 / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002478/0.7537, allocations: 49.72 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 0.0001513/0.7538, allocations: 114.8 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.7542, allocations: 364.7 kB / 1.03 GB, free: 53.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7543, allocations: 0 / 1.03 GB, free: 53.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.7543, allocations: 36.86 kB / 1.03 GB, free: 53.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.7546, allocations: 29.02 kB / 1.03 GB, free: 53.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.755, allocations: 208.5 kB / 1.03 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.7551, allocations: 0.6926 MB / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.588e-05/0.7552, allocations: 10.36 kB / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.7552, allocations: 14.16 kB / 1.031 GB, free: 52.32 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.7552, allocations: 0 / 1.031 GB, free: 52.32 MB / 0.698 GB Notification: Performance of Templates: time 0.005731/0.7609, allocations: 2.491 MB / 1.033 GB, free: 52.12 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)