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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01351/0.01352, allocations: 106.5 kB / 15.05 MB, free: 5.934 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.001144/0.001144, allocations: 183.9 kB / 15.94 MB, free: 5.898 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.99/1.99, allocations: 194.5 MB / 211.2 MB, free: 11.1 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.265/2.265, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004841, allocations: 16 kB / 0.5871 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.677/0.6775, allocations: 98.71 MB / 0.6835 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2835/0.9611, allocations: 124.7 MB / 0.8052 GB, free: 1.598 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.9614, allocations: 67.97 kB / 0.8053 GB, free: 1.531 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01743/0.9789, allocations: 3.612 MB / 0.8088 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9789, allocations: 0 / 0.8088 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.979, allocations: 0 / 0.8088 GB, free: 13.91 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.00122/0.9802, allocations: 0.4986 MB / 0.8093 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.9803, allocations: 8.031 kB / 0.8093 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.522e-05/0.9803, allocations: 38.56 kB / 0.8093 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.9804, allocations: 15.81 kB / 0.8094 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.9807, allocations: 213.8 kB / 0.8096 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.9807, allocations: 4 kB / 0.8096 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.9808, allocations: 11.94 kB / 0.8096 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/0.9817, allocations: 205.5 kB / 0.8098 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.9817, allocations: 0 / 0.8098 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.9818, allocations: 4 kB / 0.8098 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.9818, allocations: 0 / 0.8098 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.9832, allocations: 259.7 kB / 0.81 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.9847, allocations: 0.508 MB / 0.8105 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.9856, allocations: 172.9 kB / 0.8107 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.9856, allocations: 4 kB / 0.8107 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.9857, allocations: 30.56 kB / 0.8107 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.374e-06/0.9857, allocations: 0 / 0.8107 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.002551/0.9882, allocations: 0.6245 MB / 0.8113 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.9883, allocations: 51.41 kB / 0.8114 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.9885, allocations: 133.3 kB / 0.8115 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.9885, allocations: 25.7 kB / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.9886, allocations: 108.3 kB / 0.8116 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.9887, allocations: 51.42 kB / 0.8117 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.9888, allocations: 0 / 0.8117 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9889, allocations: 326.8 kB / 0.812 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007301/0.9897, allocations: 135.9 kB / 0.8121 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.9904, allocations: 139.9 kB / 0.8123 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.9912, allocations: 142.1 kB / 0.8124 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.9912, allocations: 3.953 kB / 0.8124 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001592/0.9928, allocations: 337.2 kB / 0.8127 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.9928, allocations: 4 kB / 0.8127 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.9929, allocations: 7.938 kB / 0.8127 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.9929, allocations: 0 / 0.8127 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.9934, allocations: 59.89 kB / 0.8128 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.9934, allocations: 0 / 0.8128 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.9938, allocations: 47.86 kB / 0.8128 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.9938, allocations: 4 kB / 0.8128 GB, free: 9.527 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.0001622/0.994, allocations: 125.8 kB / 0.813 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.9941, allocations: 15.86 kB / 0.813 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/0.9958, allocations: 358.1 kB / 0.8133 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.9958, allocations: 0 / 0.8133 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9958, allocations: 0 / 0.8133 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.9958, allocations: 3.984 kB / 0.8133 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.9962, allocations: 245.7 kB / 0.8136 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.9963, allocations: 3.984 kB / 0.8136 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/0.9967, allocations: 59.89 kB / 0.8136 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.9967, allocations: 0 / 0.8136 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.9967, allocations: 8 kB / 0.8136 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9968, allocations: 3.938 kB / 0.8136 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9968, allocations: 0 / 0.8136 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.9984, allocations: 436.4 kB / 0.814 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.9985, allocations: 92.91 kB / 0.8141 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.9986, allocations: 0 / 0.8141 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.999, allocations: 43.95 kB / 0.8142 GB, free: 8.059 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.9991, allocations: 11.98 kB / 0.8142 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.9992, allocations: 4 kB / 0.8142 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001193/0.9993, allocations: 113.5 kB / 0.8143 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.274e-06/0.9993, allocations: 4 kB / 0.8143 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004134/0.9997, allocations: 43.84 kB / 0.8143 GB, free: 7.887 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.002126/1.002, allocations: 0.9953 MB / 0.8153 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001652/1.004, allocations: 371.1 kB / 0.8157 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.004, allocations: 0 / 0.8157 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008359/1.004, allocations: 223.3 kB / 0.8159 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.005, allocations: 16.77 kB / 0.8159 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/1.009, allocations: 1.159 MB / 0.817 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/1.009, allocations: 0.724 MB / 0.8177 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001443/1.009, allocations: 11.98 kB / 0.8177 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/1.009, allocations: 39.42 kB / 0.8178 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/1.009, allocations: 0 / 0.8178 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/1.032, allocations: 3.057 MB / 0.8208 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/1.033, allocations: 185.9 kB / 0.8209 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.456, allocations: 0 / 0.8209 GB, free: 1.059 MB / 0.6355 GB