Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.764/1.764, allocations: 291.7 MB / 306.8 MB, free: 7.691 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.001568/0.001568, allocations: 193.5 kB / 375.4 MB, free: 5.109 MB / 298.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.524/1.524, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0009547/0.0009547, allocations: 110.7 kB / 0.7699 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004812, allocations: 12 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8429/0.8434, allocations: 118.1 MB / 1.011 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00125/0.8448, allocations: 421.9 kB / 1.011 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.8461, allocations: 0.8153 MB / 1.012 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.8461, allocations: 3.781 kB / 1.012 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.8462, allocations: 2.812 kB / 1.012 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.8463, allocations: 8.781 kB / 1.012 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.8465, allocations: 16.25 kB / 1.012 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.8466, allocations: 38.25 kB / 1.012 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.8467, allocations: 12.94 kB / 1.012 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.164e-05/0.8468, allocations: 21.78 kB / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.8469, allocations: 20.72 kB / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.847, allocations: 2.938 kB / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.847, allocations: 2.25 kB / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.847, allocations: 10.58 kB / 1.012 GB, free: 57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.8471, allocations: 32.08 kB / 1.012 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.494e-05/0.8472, allocations: 28.89 kB / 1.012 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.8472, allocations: 1.469 kB / 1.012 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8472, allocations: 0 / 1.012 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.8472, allocations: 0.9688 kB / 1.012 GB, free: 56.96 MB / 0.7136 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.0005931/0.8478, allocations: 357.9 kB / 1.013 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.8479, allocations: 8 kB / 1.013 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.8479, allocations: 11.31 kB / 1.013 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.8481, allocations: 169 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.8481, allocations: 3.406 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.8481, allocations: 4.312 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.8483, allocations: 80.5 kB / 1.013 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.8483, allocations: 192 / 1.013 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.8484, allocations: 6.75 kB / 1.013 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.8484, allocations: 4.844 kB / 1.013 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.8486, allocations: 57.44 kB / 1.013 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.849, allocations: 297.1 kB / 1.013 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.8492, allocations: 70.48 kB / 1.013 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.8493, allocations: 33.81 kB / 1.013 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.8494, allocations: 7.625 kB / 1.013 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.8494, allocations: 39.11 kB / 1.013 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8494, allocations: 0 / 1.013 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0003922/0.8498, allocations: 116.5 kB / 1.014 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.8498, allocations: 54.56 kB / 1.014 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.8499, allocations: 115.2 kB / 1.014 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.8499, allocations: 25.7 kB / 1.014 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.85, allocations: 93.94 kB / 1.014 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.85, allocations: 13.19 kB / 1.014 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.85, allocations: 0 / 1.014 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.8501, allocations: 319.5 kB / 1.014 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.8502, allocations: 27.17 kB / 1.014 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.8503, allocations: 29.5 kB / 1.014 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.8505, allocations: 65.84 kB / 1.014 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8505, allocations: 0 / 1.014 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002176/0.8507, allocations: 99.25 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8507, allocations: 4.375 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.8507, allocations: 0 / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8508, allocations: 1.438 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.8509, allocations: 18.91 kB / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8509, allocations: 0 / 1.014 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.851, allocations: 14.8 kB / 1.014 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.851, allocations: 3.594 kB / 1.014 GB, free: 55.33 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/0.8511, allocations: 117.9 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.8511, allocations: 7.594 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.8511, allocations: 6.031 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.8511, allocations: 0 / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8511, allocations: 0.6094 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8512, allocations: 2.844 kB / 1.014 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.8513, allocations: 179.4 kB / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8513, allocations: 0 / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.679e-05/0.8514, allocations: 17.88 kB / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8514, allocations: 0 / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.8514, allocations: 0.7812 kB / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8514, allocations: 0 / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8514, allocations: 2.906 kB / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.8517, allocations: 204.4 kB / 1.015 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/0.8518, allocations: 77.11 kB / 1.015 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.8518, allocations: 0 / 1.015 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.8519, allocations: 15.98 kB / 1.015 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.852, allocations: 11.23 kB / 1.015 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.852, allocations: 8 kB / 1.015 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.852, allocations: 85.45 kB / 1.015 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.852, allocations: 0 / 1.015 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002074/0.8522, allocations: 10.22 kB / 1.015 GB, free: 54.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001213/0.8524, allocations: 110.1 kB / 1.015 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.8526, allocations: 64.31 kB / 1.015 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8526, allocations: 0.5 kB / 1.015 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.8527, allocations: 37.78 kB / 1.015 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.853, allocations: 14.08 kB / 1.015 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.8534, allocations: 139.3 kB / 1.015 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.8535, allocations: 0.6848 MB / 1.016 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.806e-05/0.8536, allocations: 5.406 kB / 1.016 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.8536, allocations: 13.94 kB / 1.016 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8536, allocations: 0.6562 kB / 1.016 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.002882/0.8565, allocations: 0.7322 MB / 1.017 GB, free: 53.77 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)