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.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.727/1.727, allocations: 291.7 MB / 306.8 MB, free: 7.648 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.001731/0.001731, allocations: 178.5 kB / 375.4 MB, free: 5.09 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.487/1.487, 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.0008869/0.0008868, allocations: 97.41 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004416, allocations: 19.98 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8056, allocations: 118.1 MB / 1.011 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003091/0.8088, allocations: 1.598 MB / 1.012 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.8111, allocations: 1.005 MB / 1.013 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.8112, allocations: 8.312 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.8117, allocations: 97.03 kB / 1.014 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.8121, allocations: 77.09 kB / 1.014 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.8126, allocations: 117.6 kB / 1.014 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.8129, allocations: 177.3 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.8131, allocations: 46.83 kB / 1.014 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.8133, allocations: 71.28 kB / 1.014 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.8134, allocations: 73.81 kB / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.8135, allocations: 5.969 kB / 1.014 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.8136, allocations: 54.52 kB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.529e-05/0.8137, allocations: 40.72 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.8138, allocations: 58.11 kB / 1.014 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.8141, allocations: 215 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.606e-05/0.8142, allocations: 1.438 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.216e-06/0.8142, allocations: 0.6875 kB / 1.014 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.8142, allocations: 3.938 kB / 1.014 GB, free: 57.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008834/0.8151, allocations: 0.4899 MB / 1.015 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.8151, allocations: 8.562 kB / 1.015 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.8152, allocations: 28.75 kB / 1.015 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.8157, allocations: 310.2 kB / 1.015 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.8157, allocations: 7.906 kB / 1.015 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.8158, allocations: 10.86 kB / 1.015 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.816, allocations: 83.06 kB / 1.015 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.816, allocations: 0 / 1.015 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.8161, allocations: 2.203 kB / 1.015 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.8161, allocations: 3.562 kB / 1.015 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.8162, allocations: 42.58 kB / 1.015 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.8171, allocations: 439.2 kB / 1.016 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.8174, allocations: 82.7 kB / 1.016 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.8175, allocations: 33.5 kB / 1.016 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.8175, allocations: 0 / 1.016 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.8177, allocations: 74.23 kB / 1.016 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.8177, allocations: 0 / 1.016 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004257/0.8182, allocations: 132.4 kB / 1.016 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.8182, allocations: 58.41 kB / 1.016 GB, free: 56.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004439/0.8187, allocations: 363.3 kB / 1.017 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.8187, allocations: 29.64 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.8188, allocations: 140 kB / 1.017 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.8189, allocations: 24.44 kB / 1.017 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.8189, allocations: 3.938 kB / 1.017 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.819, allocations: 332.3 kB / 1.017 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.8192, allocations: 57.23 kB / 1.017 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.8193, allocations: 75.88 kB / 1.017 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.8196, allocations: 86.28 kB / 1.017 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8196, allocations: 0 / 1.017 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000431/0.82, allocations: 193.2 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.8201, allocations: 9.812 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.8201, allocations: 1.062 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.8201, allocations: 7.156 kB / 1.017 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.8203, allocations: 25.03 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.8203, allocations: 3.078 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.8205, allocations: 22.64 kB / 1.018 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.8205, allocations: 12.03 kB / 1.018 GB, free: 55.64 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.8207, allocations: 145.5 kB / 1.018 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.8208, allocations: 21.34 kB / 1.018 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/0.8208, allocations: 28.2 kB / 1.018 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.8209, allocations: 6.328 kB / 1.018 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.8209, allocations: 1.656 kB / 1.018 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.8209, allocations: 3.422 kB / 1.018 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.8211, allocations: 239.8 kB / 1.018 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.8212, allocations: 2.875 kB / 1.018 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.8212, allocations: 5.844 kB / 1.018 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.8212, allocations: 2.406 kB / 1.018 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.8212, allocations: 3.938 kB / 1.018 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.8212, allocations: 8.344 kB / 1.018 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8213, allocations: 1.219 kB / 1.018 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.8215, allocations: 135.3 kB / 1.018 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.8216, allocations: 107.8 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.8217, allocations: 0 / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.8218, allocations: 19.64 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.8219, allocations: 11.94 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.8219, allocations: 5.188 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003281/0.8223, allocations: 226.3 kB / 1.018 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8223, allocations: 0.75 kB / 1.018 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003867/0.8227, allocations: 44.62 kB / 1.018 GB, free: 55.03 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: 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 (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.001448/0.8241, allocations: 482.9 kB / 1.019 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.8244, allocations: 103.9 kB / 1.019 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8245, allocations: 0 / 1.019 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.8246, allocations: 36.12 kB / 1.019 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.8251, allocations: 49.38 kB / 1.019 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.8259, allocations: 407.3 kB / 1.02 GB, free: 54.63 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.8262, allocations: 0.7461 MB / 1.02 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.8263, allocations: 32.44 kB / 1.02 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.8264, allocations: 20.03 kB / 1.02 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.8264, allocations: 0 / 1.02 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of Templates: time 0.00811/0.8345, allocations: 2.551 MB / 1.023 GB, free: 53.78 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)