Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.983/1.983, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.00144/0.00144, allocations: 179.5 kB / 393.1 MB, free: 4.062 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.649/1.649, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0009191/0.0009191, allocations: 94.86 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 12 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7312/0.7316, allocations: 121.3 MB / 1.041 GB, free: 58.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002305/0.734, allocations: 1.618 MB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.7357, allocations: 1.185 MB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.895e-05/0.7358, allocations: 2.625 kB / 1.044 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.7361, allocations: 92.94 kB / 1.044 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.7364, allocations: 94.8 kB / 1.044 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.7367, allocations: 128.1 kB / 1.044 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.7369, allocations: 210.9 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.7371, allocations: 61.81 kB / 1.044 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.7372, allocations: 73.66 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.7374, allocations: 80.2 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.7374, allocations: 7.391 kB / 1.044 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.7375, allocations: 51.62 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.7376, allocations: 53.95 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.7377, allocations: 96.67 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.738, allocations: 266.6 kB / 1.045 GB, free: 55.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.738, allocations: 0.9062 kB / 1.045 GB, free: 55.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.963e-06/0.738, allocations: 0 / 1.045 GB, free: 55.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.738, allocations: 0.875 kB / 1.045 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006759/0.7387, allocations: 0.502 MB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.7388, allocations: 10.31 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.7388, allocations: 28.91 kB / 1.045 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.7391, allocations: 305 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.7392, allocations: 5.531 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.7392, allocations: 16.19 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.7394, allocations: 93.64 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.7394, allocations: 1.922 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.7395, allocations: 4 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.7395, allocations: 3.094 kB / 1.046 GB, free: 55.17 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.7396, allocations: 49.66 kB / 1.046 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.7402, allocations: 459.3 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.7404, allocations: 79.97 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.7405, allocations: 29.7 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.7405, allocations: 5.062 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.7407, allocations: 76.27 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.7407, allocations: 0.9375 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000306/0.741, allocations: 136 kB / 1.047 GB, free: 54.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.741, allocations: 56.41 kB / 1.047 GB, free: 54.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.7414, allocations: 368.3 kB / 1.047 GB, free: 54.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.7414, allocations: 28.11 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.7415, allocations: 139.6 kB / 1.047 GB, free: 54.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.7415, allocations: 22.28 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.7415, allocations: 4 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.7416, allocations: 333.1 kB / 1.047 GB, free: 53.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.7417, allocations: 58.98 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.7418, allocations: 75.77 kB / 1.048 GB, free: 53.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.742, allocations: 94.05 kB / 1.048 GB, free: 53.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.742, allocations: 0 / 1.048 GB, free: 53.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002817/0.7423, allocations: 194.4 kB / 1.048 GB, free: 53.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7423, allocations: 11.77 kB / 1.048 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7423, allocations: 0 / 1.048 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7423, allocations: 4.031 kB / 1.048 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.7425, allocations: 22.98 kB / 1.048 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.7425, allocations: 0 / 1.048 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.7426, allocations: 20.14 kB / 1.048 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.7426, allocations: 5.234 kB / 1.048 GB, free: 53.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001109/0.7427, allocations: 158.8 kB / 1.048 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.7427, allocations: 26.53 kB / 1.048 GB, free: 53.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.7428, allocations: 33.95 kB / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.7428, allocations: 2.656 kB / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7428, allocations: 0 / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7428, allocations: 2.578 kB / 1.048 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.743, allocations: 244.3 kB / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.743, allocations: 0 / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.743, allocations: 10.28 kB / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7431, allocations: 2.188 kB / 1.048 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.7431, allocations: 4 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7431, allocations: 0 / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7431, allocations: 4.719 kB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.7433, allocations: 141.2 kB / 1.049 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.7434, allocations: 107.3 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.7434, allocations: 4.594 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.7435, allocations: 13.28 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.7435, allocations: 8.016 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.7436, allocations: 11.66 kB / 1.049 GB, free: 53.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001989/0.7438, allocations: 227.9 kB / 1.049 GB, free: 52.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7438, allocations: 0 / 1.049 GB, free: 52.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002218/0.744, allocations: 32.81 kB / 1.049 GB, free: 52.93 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * 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.0009306/0.7449, allocations: 488 kB / 1.049 GB, free: 52.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.7452, allocations: 108.1 kB / 1.049 GB, free: 52.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7452, allocations: 4.062 kB / 1.049 GB, free: 52.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.7453, allocations: 28.33 kB / 1.049 GB, free: 52.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.7456, allocations: 49.38 kB / 1.05 GB, free: 52.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.7461, allocations: 440.1 kB / 1.05 GB, free: 52.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.7463, allocations: 0.7534 MB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.605e-05/0.7464, allocations: 33 kB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.7465, allocations: 16.53 kB / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.7465, allocations: 0 / 1.051 GB, free: 51.61 MB / 0.698 GB Notification: Performance of Templates: time 0.005725/0.7522, allocations: 2.612 MB / 1.053 GB, free: 51.4 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1)