Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.364/2.364, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.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.001528/0.001528, allocations: 199 kB / 329.5 MB, free: 1.152 MB / 250.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 2.442/2.442, allocations: 225.6 MB / 0.6001 GB, free: 2.211 MB / 426.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.0009613/0.0009609, allocations: 102 kB / 0.7074 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005156, allocations: 16.38 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2487, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001529/0.2503, allocations: 1.089 MB / 0.9319 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000281/0.2507, allocations: 91.83 kB / 0.9319 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.2507, allocations: 0 / 0.9319 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.2507, allocations: 7.922 kB / 0.9319 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.2508, allocations: 0 / 0.9319 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.21e-05/0.2509, allocations: 8 kB / 0.932 GB, free: 23.92 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.251, allocations: 23.92 kB / 0.932 GB, free: 23.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.2511, allocations: 4 kB / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.2511, allocations: 11.92 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.714e-05/0.2512, allocations: 4 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.2512, allocations: 4 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.965e-06/0.2512, allocations: 7.875 kB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.2513, allocations: 3.984 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.2513, allocations: 29.64 kB / 0.932 GB, free: 23.83 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.463e-05/0.2514, allocations: 19.97 kB / 0.9321 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2514, allocations: 0 / 0.9321 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2514, allocations: 0 / 0.9321 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2514, allocations: 4 kB / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004563/0.2519, allocations: 351.7 kB / 0.9324 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2519, allocations: 8.031 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.252, allocations: 4.844 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.882e-05/0.2521, allocations: 176.4 kB / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2521, allocations: 384 / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.2521, allocations: 384 / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.2523, allocations: 54.23 kB / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2524, allocations: 4.188 kB / 0.9326 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2524, allocations: 3.938 kB / 0.9326 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2524, allocations: 0 / 0.9326 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.2527, allocations: 47.91 kB / 0.9327 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.253, allocations: 249 kB / 0.9329 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.2532, allocations: 46.56 kB / 0.933 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2534, allocations: 32.83 kB / 0.933 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.2534, allocations: 3.984 kB / 0.933 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.2535, allocations: 38.56 kB / 0.933 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.2535, allocations: 0 / 0.933 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005135/0.254, allocations: 97.69 kB / 0.9331 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.254, allocations: 55.39 kB / 0.9332 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.311e-05/0.2541, allocations: 101.9 kB / 0.9333 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2541, allocations: 25.7 kB / 0.9333 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.2542, allocations: 80.14 kB / 0.9334 GB, free: 22.25 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2542, allocations: 7.891 kB / 0.9334 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.2542, allocations: 4 kB / 0.9334 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/0.2543, allocations: 314.8 kB / 0.9337 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.2544, allocations: 20.02 kB / 0.9337 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2546, allocations: 23.98 kB / 0.9337 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.2547, allocations: 16.05 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2547, allocations: 11.92 kB / 0.9338 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003145/0.2551, allocations: 81.55 kB / 0.9338 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2551, allocations: 8 kB / 0.9338 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2551, allocations: 256 / 0.9338 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2551, allocations: 0 / 0.9338 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2553, allocations: 20.02 kB / 0.9339 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-05/0.2553, allocations: 0 / 0.9339 GB, free: 21.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2554, allocations: 15.92 kB / 0.9339 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.2555, allocations: 0 / 0.9339 GB, free: 21.72 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.193e-05/0.2555, allocations: 109.8 kB / 0.934 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.2556, allocations: 7.906 kB / 0.934 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.2556, allocations: 11.12 kB / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2556, allocations: 0 / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.2556, allocations: 0 / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2556, allocations: 0 / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.2558, allocations: 165.6 kB / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2558, allocations: 0 / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.2559, allocations: 7.984 kB / 0.9342 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2559, allocations: 4 kB / 0.9342 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.256, allocations: 0 / 0.9342 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.256, allocations: 7.938 kB / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.256, allocations: 0 / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.2563, allocations: 171.5 kB / 0.9343 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.907e-05/0.2564, allocations: 81.14 kB / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2564, allocations: 4 kB / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.2565, allocations: 11.98 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.2566, allocations: 0 / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.2566, allocations: 0 / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.2567, allocations: 87.27 kB / 0.9345 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.9e-07/0.2567, allocations: 0 / 0.9345 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002617/0.2569, allocations: 4 kB / 0.9345 GB, free: 20.96 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001549/0.2571, allocations: 113.4 kB / 0.9346 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.2575, allocations: 47.91 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2575, allocations: 0 / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.2576, allocations: 32.03 kB / 0.9347 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.258, allocations: 7.938 kB / 0.9347 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.2583, allocations: 112.6 kB / 0.9348 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.2585, allocations: 0.6771 MB / 0.9355 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.2586, allocations: 4 kB / 0.9355 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.2586, allocations: 7.438 kB / 0.9355 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.2586, allocations: 0 / 0.9355 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of Templates: time 0.002993/0.2616, allocations: 401.4 kB / 0.9359 GB, free: 19.52 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)