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.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.738/1.738, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.001055/0.001055, allocations: 187.2 kB / 393.1 MB, free: 4.078 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.594/1.594, allocations: 225.7 MB / 0.6743 GB, free: 12.52 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.0007997/0.0007997, allocations: 90.98 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 12 kB / 0.9225 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.8496, allocations: 121.3 MB / 1.041 GB, free: 58.28 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002421/0.8521, allocations: 1.621 MB / 1.042 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.8538, allocations: 1.176 MB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.8539, allocations: 4 kB / 1.044 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.8543, allocations: 101.9 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.8545, allocations: 92.97 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.8549, allocations: 130.9 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.8552, allocations: 200.2 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.8554, allocations: 58.39 kB / 1.044 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.8555, allocations: 75.33 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.8556, allocations: 86.22 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.8557, allocations: 4.094 kB / 1.044 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.8558, allocations: 52.88 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.8559, allocations: 57.03 kB / 1.044 GB, free: 55.92 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.856, allocations: 92.58 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004269/0.8565, allocations: 271.7 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8565, allocations: 1.125 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.966e-06/0.8565, allocations: 0.5 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8565, allocations: 0.7812 kB / 1.045 GB, free: 55.75 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.001029/0.8575, allocations: 0.5015 MB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.8576, allocations: 10.31 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.8577, allocations: 27.75 kB / 1.045 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.8581, allocations: 307.1 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.8581, allocations: 4.312 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.8582, allocations: 14.56 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.8584, allocations: 93.94 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.8584, allocations: 0 / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.8585, allocations: 8.578 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8585, allocations: 1.5 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.8586, allocations: 53.33 kB / 1.046 GB, free: 54.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.8594, allocations: 457.4 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.8597, allocations: 77.92 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.8597, allocations: 28.72 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.8598, allocations: 4.125 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.86, allocations: 79.94 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.86, allocations: 3.156 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003654/0.8604, allocations: 130.1 kB / 1.047 GB, free: 54.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.8604, allocations: 53.78 kB / 1.047 GB, free: 54.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.8609, allocations: 370.3 kB / 1.047 GB, free: 54.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.8609, allocations: 26.2 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.861, allocations: 145.3 kB / 1.047 GB, free: 54.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.8611, allocations: 20.28 kB / 1.047 GB, free: 54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.8611, allocations: 4.531 kB / 1.047 GB, free: 53.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.8612, allocations: 334.7 kB / 1.047 GB, free: 53.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.8613, allocations: 56.22 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.8614, allocations: 71.94 kB / 1.048 GB, free: 53.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.8616, allocations: 100.2 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8616, allocations: 3.406 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003017/0.8619, allocations: 195 kB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.862, allocations: 4.938 kB / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.862, allocations: 0 / 1.048 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.862, allocations: 7.594 kB / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.8621, allocations: 22.64 kB / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.8621, allocations: 0 / 1.048 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.8623, allocations: 20.88 kB / 1.048 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.8623, allocations: 8.922 kB / 1.048 GB, free: 53.46 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,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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.000132/0.8624, allocations: 157.7 kB / 1.048 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.8625, allocations: 27.77 kB / 1.048 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.8625, allocations: 26.36 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.8625, allocations: 1.375 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8625, allocations: 0 / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.8626, allocations: 7.375 kB / 1.048 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.8628, allocations: 242.5 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8628, allocations: 4 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.491e-05/0.8628, allocations: 8.062 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8628, allocations: 0 / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.8628, allocations: 2.984 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8628, allocations: 3.938 kB / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8628, allocations: 0 / 1.048 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.8631, allocations: 139.5 kB / 1.049 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.8632, allocations: 112.8 kB / 1.049 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.8632, allocations: 7.188 kB / 1.049 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.8633, allocations: 12.33 kB / 1.049 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.8634, allocations: 8.812 kB / 1.049 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.8634, allocations: 5.281 kB / 1.049 GB, free: 52.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002258/0.8636, allocations: 230.3 kB / 1.049 GB, free: 52.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8636, allocations: 0 / 1.049 GB, free: 52.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002382/0.8639, allocations: 33.94 kB / 1.049 GB, free: 52.72 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,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.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.001047/0.8649, allocations: 489.5 kB / 1.049 GB, free: 52.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.8652, allocations: 105.7 kB / 1.049 GB, free: 52.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8652, allocations: 0 / 1.049 GB, free: 52.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.8653, allocations: 30.08 kB / 1.049 GB, free: 52.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.8656, allocations: 52.25 kB / 1.05 GB, free: 52.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.8662, allocations: 438.8 kB / 1.05 GB, free: 52.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.8665, allocations: 0.747 MB / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.051e-05/0.8666, allocations: 35.78 kB / 1.051 GB, free: 51.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.8666, allocations: 22.75 kB / 1.051 GB, free: 51.41 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.8666, allocations: 0 / 1.051 GB, free: 51.41 MB / 0.698 GB Notification: Performance of Templates: time 0.006145/0.8728, allocations: 2.601 MB / 1.053 GB, free: 51.2 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)