Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009099/0.009099, allocations: 112.3 kB / 15.06 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001182/0.001182, allocations: 181.5 kB / 15.94 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.968/1.968, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.246/2.246, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007429/0.000743, allocations: 15.98 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5923/0.5931, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.776, allocations: 124.7 MB / 0.8051 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.7763, allocations: 71.95 kB / 0.8052 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.7902, allocations: 3.6 MB / 0.8087 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.46e-06/0.7902, allocations: 0 / 0.8087 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.7903, allocations: 4 kB / 0.8087 GB, free: 13.93 MB / 0.6355 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.0008939/0.7912, allocations: 498.7 kB / 0.8092 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.7912, allocations: 12.03 kB / 0.8092 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.7913, allocations: 15.81 kB / 0.8092 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.7916, allocations: 214.7 kB / 0.8094 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.7916, allocations: 8 kB / 0.8094 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.7916, allocations: 4 kB / 0.8094 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.7923, allocations: 205.5 kB / 0.8096 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.585e-06/0.7923, allocations: 0 / 0.8096 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.7924, allocations: 4 kB / 0.8096 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.7924, allocations: 4 kB / 0.8096 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.7933, allocations: 247.7 kB / 0.8099 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.7945, allocations: 0.5235 MB / 0.8104 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005228/0.795, allocations: 162.5 kB / 0.8106 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.7951, allocations: 4.062 kB / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.7951, allocations: 38.56 kB / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.923e-06/0.7951, allocations: 0 / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001729/0.7969, allocations: 0.6306 MB / 0.8112 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.7969, allocations: 51.41 kB / 0.8113 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.7971, allocations: 133.4 kB / 0.8114 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.7971, allocations: 25.7 kB / 0.8114 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.7972, allocations: 108.3 kB / 0.8115 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.904e-05/0.7973, allocations: 39.36 kB / 0.8115 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.7973, allocations: 8 kB / 0.8116 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7975, allocations: 322.8 kB / 0.8119 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.798, allocations: 139.9 kB / 0.812 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004632/0.7985, allocations: 135.9 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.799, allocations: 140.6 kB / 0.8123 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.154e-06/0.799, allocations: 3.938 kB / 0.8123 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00105/0.8, allocations: 338.7 kB / 0.8126 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.8001, allocations: 7.984 kB / 0.8126 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/0.8001, allocations: 3.938 kB / 0.8126 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8001, allocations: 4 kB / 0.8126 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.8005, allocations: 47.95 kB / 0.8126 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.139e-06/0.8005, allocations: 0 / 0.8126 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.8007, allocations: 51.95 kB / 0.8127 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.8008, allocations: 4 kB / 0.8127 GB, free: 9.602 MB / 0.6355 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001579/0.8009, allocations: 121.8 kB / 0.8128 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.801, allocations: 19.7 kB / 0.8128 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.8022, allocations: 366.2 kB / 0.8132 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.851e-06/0.8022, allocations: 0 / 0.8132 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8022, allocations: 7.984 kB / 0.8132 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8022, allocations: 0 / 0.8132 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.8026, allocations: 249.6 kB / 0.8134 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.8026, allocations: 3.953 kB / 0.8134 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.8029, allocations: 55.94 kB / 0.8135 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.8029, allocations: 0 / 0.8135 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.803, allocations: 0 / 0.8135 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.061e-06/0.803, allocations: 0 / 0.8135 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-06/0.803, allocations: 0 / 0.8135 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.8041, allocations: 428.4 kB / 0.8139 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.8042, allocations: 92.91 kB / 0.814 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.8042, allocations: 4 kB / 0.814 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.8045, allocations: 51.89 kB / 0.814 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.8046, allocations: 15.98 kB / 0.8141 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.8046, allocations: 4 kB / 0.8141 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001163/0.8048, allocations: 109.3 kB / 0.8142 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.94e-07/0.8048, allocations: 0 / 0.8142 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004135/0.8052, allocations: 47.91 kB / 0.8142 GB, free: 7.957 MB / 0.6355 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: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002505/0.8055, allocations: 123.2 kB / 0.8143 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.8066, allocations: 367.1 kB / 0.8147 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.95e-06/0.8066, allocations: 3.938 kB / 0.8147 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005621/0.8072, allocations: 227.2 kB / 0.8149 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.8075, allocations: 23.92 kB / 0.8149 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006849/0.8082, allocations: 330 kB / 0.8152 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.8086, allocations: 0.724 MB / 0.8159 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.8087, allocations: 19.92 kB / 0.816 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.8088, allocations: 11.44 kB / 0.816 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of SimCode: time 1.745e-06/0.8088, allocations: 0 / 0.816 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of Templates: time 0.005678/0.8145, allocations: 1.592 MB / 0.8175 GB, free: 4.484 MB / 0.6355 GB