Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.794/1.794, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.001285/0.001285, allocations: 175.3 kB / 393.1 MB, free: 4.086 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.525/1.525, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008122/0.0008122, allocations: 94.09 kB / 0.7935 GB, free: 40.26 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004501, allocations: 13.69 kB / 0.9224 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8293, allocations: 121.3 MB / 1.041 GB, free: 59.18 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001036/0.8304, allocations: 0.5372 MB / 1.041 GB, free: 58.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.8325, allocations: 1.974 MB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.8326, allocations: 4.812 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.8327, allocations: 7.875 kB / 1.043 GB, free: 57.22 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.8328, allocations: 33.31 kB / 1.043 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.834, allocations: 491.6 kB / 1.044 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004227/0.8344, allocations: 418.6 kB / 1.044 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.8346, allocations: 45.91 kB / 1.044 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.8348, allocations: 154 kB / 1.044 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.8349, allocations: 135.2 kB / 1.045 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.835, allocations: 21.62 kB / 1.045 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.8351, allocations: 33.02 kB / 1.045 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.8352, allocations: 42.83 kB / 1.045 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.8354, allocations: 161.3 kB / 1.045 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.8358, allocations: 389.6 kB / 1.045 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8358, allocations: 0 / 1.045 GB, free: 56.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8358, allocations: 0 / 1.045 GB, free: 56.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8358, allocations: 0 / 1.045 GB, free: 56.48 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005999/0.8364, allocations: 0.5681 MB / 1.046 GB, free: 55.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.8365, allocations: 13.31 kB / 1.046 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/0.8366, allocations: 28.47 kB / 1.046 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.8369, allocations: 259.7 kB / 1.046 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.837, allocations: 21.56 kB / 1.046 GB, free: 55.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.837, allocations: 29.94 kB / 1.046 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.8373, allocations: 150 kB / 1.046 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8373, allocations: 2.766 kB / 1.046 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.8373, allocations: 12.41 kB / 1.046 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.8373, allocations: 3.75 kB / 1.046 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.8375, allocations: 82.7 kB / 1.046 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.8382, allocations: 0.7054 MB / 1.047 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.8384, allocations: 169.9 kB / 1.047 GB, free: 54.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.8385, allocations: 55.22 kB / 1.047 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.8385, allocations: 96 / 1.047 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.8388, allocations: 163.9 kB / 1.047 GB, free: 54.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.8388, allocations: 0 / 1.047 GB, free: 54.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.0004129/0.8392, allocations: 244 kB / 1.048 GB, free: 54.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.8393, allocations: 56.75 kB / 1.048 GB, free: 54.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.8394, allocations: 178.3 kB / 1.048 GB, free: 54.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.8395, allocations: 40.11 kB / 1.048 GB, free: 54.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.8395, allocations: 127.7 kB / 1.048 GB, free: 54.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.8396, allocations: 40.83 kB / 1.048 GB, free: 54.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.8396, allocations: 17.38 kB / 1.048 GB, free: 54.33 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.8397, allocations: 323.2 kB / 1.048 GB, free: 54.01 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.84, allocations: 157 kB / 1.049 GB, free: 53.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.8403, allocations: 238.1 kB / 1.049 GB, free: 53.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.8407, allocations: 405.5 kB / 1.049 GB, free: 53.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8407, allocations: 1.5 kB / 1.049 GB, free: 53.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008617/0.8416, allocations: 0.623 MB / 1.05 GB, free: 53.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.8417, allocations: 165.7 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.8417, allocations: 10.17 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8417, allocations: 3.094 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.624e-05/0.8417, allocations: 14.77 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.8418, allocations: 2.75 kB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008757/0.8426, allocations: 203.5 kB / 1.05 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/0.8427, allocations: 33.7 kB / 1.05 GB, free: 52.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001614/0.8429, allocations: 160.6 kB / 1.05 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.8429, allocations: 16.81 kB / 1.05 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.843, allocations: 26.75 kB / 1.05 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.843, allocations: 3.688 kB / 1.05 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.843, allocations: 0 / 1.05 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.843, allocations: 1.922 kB / 1.05 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.8435, allocations: 0.5039 MB / 1.051 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8435, allocations: 1.922 kB / 1.051 GB, free: 52.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.8436, allocations: 6.625 kB / 1.051 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.8436, allocations: 2.594 kB / 1.051 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.8436, allocations: 8.625 kB / 1.051 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.8436, allocations: 4 kB / 1.051 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.8436, allocations: 1.5 kB / 1.051 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.8439, allocations: 281.1 kB / 1.051 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.8439, allocations: 89.8 kB / 1.051 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.844, allocations: 5.25 kB / 1.051 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.339e-05/0.844, allocations: 2.297 kB / 1.051 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.8441, allocations: 23.77 kB / 1.051 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.8441, allocations: 12.34 kB / 1.051 GB, free: 52.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.881e-05/0.8442, allocations: 124.9 kB / 1.051 GB, free: 51.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8442, allocations: 3.938 kB / 1.051 GB, free: 51.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003474/0.8446, allocations: 86.41 kB / 1.051 GB, free: 51.95 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001854/0.8447, allocations: 116.6 kB / 1.052 GB, free: 51.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006883/0.8454, allocations: 0.6184 MB / 1.052 GB, free: 51.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8455, allocations: 0 / 1.052 GB, free: 51.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.8456, allocations: 76.59 kB / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.846, allocations: 47.3 kB / 1.052 GB, free: 51.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.8465, allocations: 369.9 kB / 1.053 GB, free: 51.12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.8467, allocations: 0.7248 MB / 1.053 GB, free: 50.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.446e-05/0.8468, allocations: 26.56 kB / 1.053 GB, free: 50.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.8468, allocations: 16.72 kB / 1.053 GB, free: 50.42 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.8468, allocations: 2.906 kB / 1.053 GB, free: 50.42 MB / 0.698 GB Notification: Performance of Templates: time 0.007921/0.8547, allocations: 4.329 MB / 1.058 GB, free: 50.05 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)