Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 297.4 MB / 312.6 MB, free: 2.91 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.001536/0.001535, allocations: 182 kB / 382.3 MB, free: 14.81 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.574/1.574, allocations: 225.7 MB / 0.6617 GB, free: 7.188 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.0007548/0.000755, allocations: 99.42 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 8.625 kB / 0.9059 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6964/0.6969, allocations: 119.2 MB / 1.022 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001309/0.6982, allocations: 0.5264 MB / 1.023 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.6999, allocations: 1.094 MB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.7, allocations: 1 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.7001, allocations: 3.938 kB / 1.024 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.249e-05/0.7002, allocations: 21.77 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.7005, allocations: 63.94 kB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.7007, allocations: 118.1 kB / 1.024 GB, free: 56.99 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.7009, allocations: 43.03 kB / 1.024 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.898e-05/0.701, allocations: 44.52 kB / 1.024 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.701, allocations: 49.25 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.7011, allocations: 4.75 kB / 1.024 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.7012, allocations: 46 kB / 1.024 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.7013, allocations: 36.05 kB / 1.024 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.615e-05/0.7014, allocations: 71.78 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.7017, allocations: 178.3 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7017, allocations: 4.875 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7017, allocations: 0.5625 kB / 1.025 GB, free: 56.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7017, allocations: 0.625 kB / 1.025 GB, free: 56.8 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007952/0.7025, allocations: 487.2 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7026, allocations: 13.19 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.7026, allocations: 16.3 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.7028, allocations: 206.6 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.7028, allocations: 4.719 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.7029, allocations: 8.5 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.7035, allocations: 217.2 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7035, allocations: 1.562 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.7035, allocations: 4.594 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.7035, allocations: 16.66 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.7043, allocations: 256.6 kB / 1.026 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008468/0.7052, allocations: 485.2 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.7055, allocations: 171.7 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.7059, allocations: 154.5 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.7059, allocations: 0 / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.7059, allocations: 30.56 kB / 1.027 GB, free: 55.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.032e-06/0.706, allocations: 3.938 kB / 1.027 GB, free: 55.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001207/0.7072, allocations: 481.9 kB / 1.027 GB, free: 55.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.7072, allocations: 51.41 kB / 1.027 GB, free: 55.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7073, allocations: 151.2 kB / 1.027 GB, free: 55.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.7073, allocations: 25.7 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.7074, allocations: 114 kB / 1.027 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.7074, allocations: 49.11 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.7074, allocations: 0 / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.749e-05/0.7075, allocations: 326.1 kB / 1.028 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.7079, allocations: 134.1 kB / 1.028 GB, free: 54.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.7082, allocations: 142.3 kB / 1.028 GB, free: 54.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.7089, allocations: 306.5 kB / 1.028 GB, free: 54.69 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7089, allocations: 1.219 kB / 1.028 GB, free: 54.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000777/0.7097, allocations: 327.3 kB / 1.029 GB, free: 54.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7097, allocations: 6.297 kB / 1.029 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.7097, allocations: 4 kB / 1.029 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7098, allocations: 0 / 1.029 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.71, allocations: 52.17 kB / 1.029 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.71, allocations: 1.938 kB / 1.029 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.7102, allocations: 60.64 kB / 1.029 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.7103, allocations: 1.438 kB / 1.029 GB, free: 54.58 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.234e-05/0.7104, allocations: 134.4 kB / 1.029 GB, free: 54.46 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.7104, allocations: 13.12 kB / 1.029 GB, free: 54.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.7104, allocations: 15.03 kB / 1.029 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.7105, allocations: 10.45 kB / 1.029 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.7105, allocations: 0 / 1.029 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7105, allocations: 3.938 kB / 1.029 GB, free: 54.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.7107, allocations: 228.2 kB / 1.029 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7107, allocations: 2.562 kB / 1.029 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.7109, allocations: 48.28 kB / 1.029 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.7109, allocations: 0.5938 kB / 1.029 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.711, allocations: 0.6875 kB / 1.029 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.711, allocations: 1.438 kB / 1.029 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.711, allocations: 0.5938 kB / 1.029 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008096/0.7118, allocations: 438.3 kB / 1.029 GB, free: 54.03 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.7118, allocations: 88.41 kB / 1.03 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.7119, allocations: 4.547 kB / 1.03 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.7121, allocations: 47.75 kB / 1.03 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.7121, allocations: 21.12 kB / 1.03 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.7122, allocations: 3.344 kB / 1.03 GB, free: 53.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.7122, allocations: 107 kB / 1.03 GB, free: 53.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7122, allocations: 0 / 1.03 GB, free: 53.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003081/0.7125, allocations: 47.69 kB / 1.03 GB, free: 53.82 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: 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 (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.000197/0.7127, allocations: 125.1 kB / 1.03 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007765/0.7135, allocations: 299.8 kB / 1.03 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7135, allocations: 0 / 1.03 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.714, allocations: 161.5 kB / 1.03 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.7143, allocations: 28.61 kB / 1.03 GB, free: 53.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.7149, allocations: 381.3 kB / 1.031 GB, free: 53.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.7152, allocations: 0.7209 MB / 1.031 GB, free: 52.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.018e-05/0.7153, allocations: 20.77 kB / 1.031 GB, free: 52.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.7153, allocations: 15 kB / 1.031 GB, free: 52.68 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.7153, allocations: 0 / 1.031 GB, free: 52.68 MB / 0.698 GB Notification: Performance of Templates: time 0.00422/0.7195, allocations: 1.555 MB / 1.033 GB, free: 52.57 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)