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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3") 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.942/1.942, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.000961/0.0009609, allocations: 186 kB / 382.3 MB, free: 14.83 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.543/1.543, allocations: 225.7 MB / 0.6617 GB, free: 7.215 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.0008127/0.0008128, allocations: 92.06 kB / 0.7789 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003895, allocations: 8.5 kB / 0.9059 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9762/0.9766, allocations: 119.2 MB / 1.022 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.00117/0.9778, allocations: 435.5 kB / 1.023 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.9799, allocations: 1.598 MB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.9799, allocations: 3.938 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.98, allocations: 1.031 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.683e-05/0.9801, allocations: 17.48 kB / 1.024 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008863/0.981, allocations: 284.5 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.9813, allocations: 222.8 kB / 1.025 GB, free: 56.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.9814, allocations: 19.55 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.9816, allocations: 88.19 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.9818, allocations: 71.47 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.9818, allocations: 13.31 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.9819, allocations: 27.47 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.268e-05/0.982, allocations: 9.438 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.9821, allocations: 100 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.9825, allocations: 207.2 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9826, allocations: 0 / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/0.9826, allocations: 1.203 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9826, allocations: 0.5938 kB / 1.025 GB, free: 56.14 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.0004885/0.9831, allocations: 456.5 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.9831, allocations: 9.312 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.9832, allocations: 15.94 kB / 1.026 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.9833, allocations: 178.4 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.9834, allocations: 11.33 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.9834, allocations: 17.69 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.9836, allocations: 62.03 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.9836, allocations: 6.016 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.9836, allocations: 1.594 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9836, allocations: 0 / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.9837, allocations: 18.8 kB / 1.026 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.9843, allocations: 410.5 kB / 1.026 GB, free: 55.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.9844, allocations: 40.42 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.9844, allocations: 20.41 kB / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.9844, allocations: 0 / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.9847, allocations: 101.7 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.9847, allocations: 1.781 kB / 1.027 GB, free: 54.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003179/0.985, allocations: 139.3 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.985, allocations: 61.42 kB / 1.027 GB, free: 54.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.9852, allocations: 131.8 kB / 1.027 GB, free: 54.72 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.9852, allocations: 35.36 kB / 1.027 GB, free: 54.69 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.9853, allocations: 104.6 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.9853, allocations: 14.28 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.9853, allocations: 8.312 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.9854, allocations: 328.1 kB / 1.027 GB, free: 54.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.9856, allocations: 88.95 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.9858, allocations: 135.1 kB / 1.028 GB, free: 54.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.9861, allocations: 241 kB / 1.028 GB, free: 53.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9861, allocations: 0 / 1.028 GB, free: 53.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005692/0.9867, allocations: 367.1 kB / 1.028 GB, free: 53.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.139e-05/0.9868, allocations: 105.6 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.9868, allocations: 1.844 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.9868, allocations: 6.188 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.941e-05/0.9868, allocations: 8.438 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.9868, allocations: 6.875 kB / 1.028 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006043/0.9875, allocations: 114.8 kB / 1.028 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/0.9875, allocations: 20.92 kB / 1.028 GB, free: 53.6 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,and1.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.0001237/0.9877, allocations: 137.4 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.9877, allocations: 8.719 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.9877, allocations: 10.8 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.9877, allocations: 1.281 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.9877, allocations: 1.609 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9878, allocations: 0.6094 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.9879, allocations: 193.7 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9879, allocations: 0.8438 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.271e-05/0.988, allocations: 8.188 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.988, allocations: 4 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.988, allocations: 0 / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.988, allocations: 2.172 kB / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.988, allocations: 0 / 1.029 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.9882, allocations: 147.7 kB / 1.029 GB, free: 53.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.9882, allocations: 84.42 kB / 1.029 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.9883, allocations: 0 / 1.029 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.399e-05/0.9883, allocations: 2.688 kB / 1.029 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.9884, allocations: 14.64 kB / 1.029 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.9884, allocations: 4.797 kB / 1.029 GB, free: 53.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.9884, allocations: 96.39 kB / 1.029 GB, free: 52.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9884, allocations: 0 / 1.029 GB, free: 52.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002559/0.9887, allocations: 44.06 kB / 1.029 GB, free: 52.96 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,and1.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.0002051/0.9889, allocations: 116.6 kB / 1.029 GB, free: 52.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004779/0.9894, allocations: 374.9 kB / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9894, allocations: 0 / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.694e-05/0.9895, allocations: 33.09 kB / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.9898, allocations: 28.11 kB / 1.03 GB, free: 52.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.9902, allocations: 209.4 kB / 1.03 GB, free: 52.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.9904, allocations: 0.6945 MB / 1.031 GB, free: 51.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.9905, allocations: 4.938 kB / 1.031 GB, free: 51.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.9905, allocations: 12.34 kB / 1.031 GB, free: 51.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/0.9905, allocations: 1.375 kB / 1.031 GB, free: 51.7 MB / 0.698 GB Notification: Performance of Templates: time 0.007117/0.9976, allocations: 2.488 MB / 1.033 GB, free: 51.5 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)