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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.648/1.648, allocations: 291.7 MB / 306.8 MB, free: 7.637 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.001103/0.001103, allocations: 185.4 kB / 375.4 MB, free: 5.078 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.444/1.444, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.0008279/0.0008278, allocations: 99.06 kB / 0.7699 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.000411, allocations: 13.72 kB / 0.8956 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.805, allocations: 118.1 MB / 1.011 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0009868/0.806, allocations: 0.522 MB / 1.011 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.8073, allocations: 0.9925 MB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.8074, allocations: 2.188 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.582e-05/0.8075, allocations: 5.625 kB / 1.012 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.8075, allocations: 18.98 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.8078, allocations: 64.16 kB / 1.012 GB, free: 57.27 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.808, allocations: 121.5 kB / 1.013 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.8081, allocations: 48.98 kB / 1.013 GB, free: 57.24 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.036e-05/0.8082, allocations: 38.92 kB / 1.013 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.8083, allocations: 42.81 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.8083, allocations: 8.375 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-05/0.8084, allocations: 49.11 kB / 1.013 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.8084, allocations: 30.25 kB / 1.013 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.8085, allocations: 38.14 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.8086, allocations: 130.9 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8087, allocations: 0 / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8087, allocations: 2.656 kB / 1.013 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8087, allocations: 0.8438 kB / 1.013 GB, free: 57.18 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007153/0.8094, allocations: 490 kB / 1.013 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8094, allocations: 9.188 kB / 1.013 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.8095, allocations: 14 kB / 1.013 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.8097, allocations: 208.2 kB / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.8097, allocations: 8.062 kB / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.8097, allocations: 4.656 kB / 1.014 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.8102, allocations: 212.1 kB / 1.014 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.8103, allocations: 4.969 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.8103, allocations: 9 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.8103, allocations: 16.69 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.8111, allocations: 254.5 kB / 1.014 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.8119, allocations: 482.4 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.8123, allocations: 171.2 kB / 1.015 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003615/0.8127, allocations: 154.2 kB / 1.015 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.8127, allocations: 3.438 kB / 1.015 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.8127, allocations: 31.62 kB / 1.015 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.8127, allocations: 0 / 1.015 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.001216/0.814, allocations: 486.4 kB / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.814, allocations: 55.16 kB / 1.015 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.8141, allocations: 152.4 kB / 1.016 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.8141, allocations: 26.55 kB / 1.016 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.8142, allocations: 110.5 kB / 1.016 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.8142, allocations: 40.98 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.8142, allocations: 7.938 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.8143, allocations: 320.8 kB / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.8147, allocations: 138 kB / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.815, allocations: 144 kB / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.8157, allocations: 301.5 kB / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8157, allocations: 0 / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007733/0.8165, allocations: 328.8 kB / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8165, allocations: 3.031 kB / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.8166, allocations: 2.875 kB / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.8166, allocations: 4 kB / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.8168, allocations: 50.98 kB / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8168, allocations: 0 / 1.017 GB, free: 55.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.817, allocations: 51.55 kB / 1.017 GB, free: 55.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.817, allocations: 7.234 kB / 1.017 GB, free: 55.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 2 * 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 8.71e-05/0.8171, allocations: 131.1 kB / 1.017 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.8172, allocations: 13.28 kB / 1.017 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.8172, allocations: 15.47 kB / 1.017 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/0.8172, allocations: 9.141 kB / 1.017 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.8172, allocations: 0 / 1.017 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.8173, allocations: 6.812 kB / 1.017 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.8175, allocations: 227.9 kB / 1.017 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8175, allocations: 3.938 kB / 1.017 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.8177, allocations: 53.8 kB / 1.018 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.8177, allocations: 4.562 kB / 1.018 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.8177, allocations: 2.109 kB / 1.018 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8177, allocations: 3.938 kB / 1.018 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8177, allocations: 0 / 1.018 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.8185, allocations: 441.3 kB / 1.018 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.8186, allocations: 87.67 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.8186, allocations: 0 / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.8188, allocations: 51.75 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.8189, allocations: 10.94 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.8189, allocations: 6.125 kB / 1.018 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.717e-05/0.8189, allocations: 109.3 kB / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.51e-07/0.8189, allocations: 0 / 1.018 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002948/0.8192, allocations: 43.77 kB / 1.018 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0002009/0.8195, allocations: 125.4 kB / 1.018 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007836/0.8202, allocations: 309.2 kB / 1.019 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8203, allocations: 0 / 1.019 GB, free: 54.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.8207, allocations: 164 kB / 1.019 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.821, allocations: 27.5 kB / 1.019 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.8216, allocations: 357 kB / 1.019 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.8218, allocations: 0.7197 MB / 1.02 GB, free: 53.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.104e-05/0.8219, allocations: 21.62 kB / 1.02 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.8219, allocations: 10.41 kB / 1.02 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.8219, allocations: 4 kB / 1.02 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.003819/0.8257, allocations: 1.518 MB / 1.021 GB, free: 53.62 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)