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.Or.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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Or") 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.769/1.769, allocations: 297.4 MB / 312.6 MB, free: 2.922 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.001035/0.001035, allocations: 186 kB / 382.3 MB, free: 14.85 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.565/1.565, allocations: 225.7 MB / 0.6617 GB, free: 7.25 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.001019/0.001019, allocations: 89.55 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8.938 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8098/0.8102, allocations: 119.2 MB / 1.022 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001034/0.8113, allocations: 398.2 kB / 1.023 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.8131, allocations: 1.431 MB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.8131, allocations: 2.688 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.8132, allocations: 0 / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.8133, allocations: 6.312 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.8139, allocations: 198.4 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.8141, allocations: 147.8 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.8142, allocations: 6.359 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.8144, allocations: 65.17 kB / 1.024 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.8145, allocations: 43.25 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.8145, allocations: 8.969 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.8146, allocations: 24.73 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.8146, allocations: 8.859 kB / 1.025 GB, free: 56.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.8148, allocations: 76.84 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.8151, allocations: 144.5 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.8151, allocations: 1.812 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8151, allocations: 0 / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.8151, allocations: 1.75 kB / 1.025 GB, free: 56.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005572/0.8157, allocations: 407.4 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.8157, allocations: 10.19 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.778e-05/0.8158, allocations: 12.25 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.816, allocations: 168.8 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.816, allocations: 9.062 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.8161, allocations: 9.484 kB / 1.025 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.8162, allocations: 54.45 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8162, allocations: 2.469 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.8163, allocations: 4.969 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.8163, allocations: 2.844 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.8163, allocations: 14.31 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.817, allocations: 353.6 kB / 1.026 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.8171, allocations: 39.95 kB / 1.026 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.8171, allocations: 16.25 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.8171, allocations: 1.453 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.8174, allocations: 82.34 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.8174, allocations: 2.031 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003901/0.8178, allocations: 106.4 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.8179, allocations: 55.05 kB / 1.026 GB, free: 55.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.818, allocations: 123.3 kB / 1.026 GB, free: 55.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.818, allocations: 34.98 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.8181, allocations: 91.59 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.8181, allocations: 11.48 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.8181, allocations: 5.141 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8183, allocations: 323.8 kB / 1.027 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.8184, allocations: 58.84 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.8186, allocations: 94.41 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.8188, allocations: 164.4 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8189, allocations: 0 / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004496/0.8193, allocations: 257.4 kB / 1.027 GB, free: 54.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.8194, allocations: 71.94 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.8194, allocations: 2.812 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.8194, allocations: 1.938 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.943e-05/0.8195, allocations: 2.062 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.8195, allocations: 2.781 kB / 1.027 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.8199, allocations: 87.81 kB / 1.027 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.82, allocations: 17.69 kB / 1.027 GB, free: 54.2 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.8201, allocations: 124.7 kB / 1.027 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.513e-05/0.8201, allocations: 2.625 kB / 1.027 GB, free: 54.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.456e-05/0.8202, allocations: 13.06 kB / 1.027 GB, free: 54.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.8202, allocations: 11.06 kB / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8202, allocations: 0 / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.8202, allocations: 3.188 kB / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.8204, allocations: 175.3 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8204, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.8204, allocations: 2.688 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.8204, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.8204, allocations: 6.719 kB / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.8204, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8204, allocations: 0 / 1.028 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.8206, allocations: 117.5 kB / 1.028 GB, free: 53.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.8206, allocations: 84.33 kB / 1.028 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.8207, allocations: 4 kB / 1.028 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.8207, allocations: 3.031 kB / 1.028 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.8207, allocations: 10.06 kB / 1.028 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.8208, allocations: 3.938 kB / 1.028 GB, free: 53.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.233e-05/0.8208, allocations: 91.97 kB / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8208, allocations: 0 / 1.028 GB, free: 53.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002507/0.8211, allocations: 34.47 kB / 1.028 GB, free: 53.58 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: 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 (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.0001717/0.8212, allocations: 112.5 kB / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.8216, allocations: 247.5 kB / 1.028 GB, free: 53.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8216, allocations: 0 / 1.028 GB, free: 53.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-05/0.8217, allocations: 20.23 kB / 1.028 GB, free: 53.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.8219, allocations: 20.92 kB / 1.028 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.8223, allocations: 174.5 kB / 1.029 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.8225, allocations: 0.6847 MB / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.8226, allocations: 7.484 kB / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.8226, allocations: 15.03 kB / 1.029 GB, free: 52.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8226, allocations: 1.219 kB / 1.029 GB, free: 52.45 MB / 0.698 GB Notification: Performance of Templates: time 0.004315/0.8269, allocations: 1.75 MB / 1.031 GB, free: 52.31 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)