Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") 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.739/1.739, 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.001273/0.001273, allocations: 186 kB / 382.3 MB, free: 14.84 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.569/1.569, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.0007744/0.0007744, allocations: 91.28 kB / 0.7789 GB, free: 46.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003438, allocations: 12 kB / 0.9059 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6237, allocations: 119.2 MB / 1.022 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001387/0.6252, allocations: 0.7053 MB / 1.023 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.6272, allocations: 1.549 MB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.6273, allocations: 1.094 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.6273, allocations: 8.531 kB / 1.024 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.6275, allocations: 27.41 kB / 1.025 GB, free: 56.47 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.6282, allocations: 255.1 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.6284, allocations: 285.3 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.6286, allocations: 39.78 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.6288, allocations: 97.84 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.629, allocations: 101 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.629, allocations: 11.03 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.6291, allocations: 21.48 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.6292, allocations: 32.92 kB / 1.025 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.6293, allocations: 121.4 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.6297, allocations: 315.9 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6297, allocations: 0 / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6298, allocations: 1.469 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.6298, allocations: 0 / 1.026 GB, free: 55.96 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007463/0.6305, allocations: 0.5255 MB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6306, allocations: 7.781 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.6306, allocations: 27.09 kB / 1.026 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.6314, allocations: 325.2 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.124e-05/0.6314, allocations: 10.33 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.6315, allocations: 23.25 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.6318, allocations: 132.8 kB / 1.027 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.6318, allocations: 3.938 kB / 1.027 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.6318, allocations: 8.562 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6318, allocations: 3.906 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.6321, allocations: 83.89 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.6327, allocations: 0.6399 MB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.6331, allocations: 143.7 kB / 1.028 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.6332, allocations: 59.77 kB / 1.028 GB, free: 54.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.6333, allocations: 3.938 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.6335, allocations: 154.7 kB / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.6336, allocations: 0 / 1.028 GB, free: 54.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0005332/0.6341, allocations: 218.7 kB / 1.028 GB, free: 54.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.6341, allocations: 113.5 kB / 1.028 GB, free: 54.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.6343, allocations: 191.7 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.6344, allocations: 35.67 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.6344, allocations: 128.3 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.6345, allocations: 41.44 kB / 1.029 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.6345, allocations: 8.094 kB / 1.029 GB, free: 53.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.6346, allocations: 331.8 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.6348, allocations: 95.33 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.6351, allocations: 165.2 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003437/0.6354, allocations: 238.6 kB / 1.029 GB, free: 53.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6354, allocations: 3.938 kB / 1.029 GB, free: 53.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006508/0.6361, allocations: 348.4 kB / 1.03 GB, free: 52.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.6362, allocations: 67.38 kB / 1.03 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6362, allocations: 1.688 kB / 1.03 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.6362, allocations: 11.77 kB / 1.03 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.6363, allocations: 12.88 kB / 1.03 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6363, allocations: 12.78 kB / 1.03 GB, free: 52.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004111/0.6367, allocations: 91.05 kB / 1.03 GB, free: 52.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.6368, allocations: 17.86 kB / 1.03 GB, free: 52.88 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: 14 ($whenCondition3,$whenCondition4,$PRE.hysteresis1.y,hysteresis1.y,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.hysteresis2.y,hysteresis2.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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.0001114/0.6369, allocations: 138.7 kB / 1.03 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.6369, allocations: 15.34 kB / 1.03 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.6372, allocations: 102.5 kB / 1.03 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.6372, allocations: 6.625 kB / 1.03 GB, free: 52.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6372, allocations: 3.938 kB / 1.03 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6372, allocations: 4.562 kB / 1.03 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.6374, allocations: 232.8 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6374, allocations: 2.359 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.6375, allocations: 20.36 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6375, allocations: 1.344 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.6376, allocations: 14.95 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.6376, allocations: 1.5 kB / 1.03 GB, free: 52.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6376, allocations: 5.578 kB / 1.03 GB, free: 52.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.6379, allocations: 195.7 kB / 1.031 GB, free: 52.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.638, allocations: 95.08 kB / 1.031 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.638, allocations: 12.42 kB / 1.031 GB, free: 52.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.6381, allocations: 12.44 kB / 1.031 GB, free: 52.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.6382, allocations: 31.8 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.6382, allocations: 8.125 kB / 1.031 GB, free: 52.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001222/0.6384, allocations: 143.7 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6384, allocations: 0 / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003086/0.6387, allocations: 47.48 kB / 1.031 GB, free: 52.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.0002366/0.6389, allocations: 121.4 kB / 1.031 GB, free: 52.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000622/0.6396, allocations: 325.5 kB / 1.031 GB, free: 51.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6396, allocations: 0 / 1.031 GB, free: 51.81 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.6398, allocations: 65.91 kB / 1.031 GB, free: 51.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.6401, allocations: 46.2 kB / 1.031 GB, free: 51.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.6407, allocations: 330.2 kB / 1.032 GB, free: 51.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.6409, allocations: 0.7253 MB / 1.032 GB, free: 50.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.641, allocations: 21.45 kB / 1.032 GB, free: 50.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.641, allocations: 25.75 kB / 1.033 GB, free: 50.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.641, allocations: 0 / 1.033 GB, free: 50.8 MB / 0.698 GB Notification: Performance of Templates: time 0.006325/0.6474, allocations: 2.984 MB / 1.035 GB, free: 50.59 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.pipe 2>&1)