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.01279/0.01279, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001158/0.001157, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 3.528/3.528, allocations: 389 MB / 405.9 MB, free: 67.61 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.198/4.198, allocations: 472.3 MB / 0.9018 GB, free: 13.34 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006681/0.0006685, allocations: 12 kB / 1.008 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5965/0.5972, allocations: 98.73 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001705/0.599, allocations: 1.239 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.000673/0.5997, allocations: 321.1 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.5998, allocations: 0 / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 8.631e-05/0.5999, allocations: 7.031 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.435e-05/0.5999, allocations: 19.8 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.6003, allocations: 63.86 kB / 1.106 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.6004, allocations: 111.6 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.6006, allocations: 36.52 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.6007, allocations: 39.5 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.6008, allocations: 47.81 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.6008, allocations: 4 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.6009, allocations: 51.89 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.601, allocations: 24.67 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.07e-05/0.601, allocations: 41.64 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.6012, allocations: 127.7 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.6012, allocations: 0 / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6013, allocations: 0 / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6013, allocations: 0 / 1.106 GB, free: 181.7 MB / 0.6823 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.001052/0.6023, allocations: 491.4 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.6024, allocations: 8.031 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.6024, allocations: 47.86 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.6025, allocations: 11.81 kB / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.6027, allocations: 203.7 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.6028, allocations: 18.62 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.6028, allocations: 4 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/0.6036, allocations: 208.5 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.6037, allocations: 0 / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.6037, allocations: 9.203 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.6038, allocations: 15.98 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.605, allocations: 252 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.6064, allocations: 489.5 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.6071, allocations: 168.5 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006718/0.6078, allocations: 159.2 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.6079, allocations: 0 / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.6079, allocations: 40.5 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.524e-06/0.6079, allocations: 0 / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.002174/0.6101, allocations: 476.5 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.6101, allocations: 55.41 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.6103, allocations: 147 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.6103, allocations: 25.7 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.6104, allocations: 112.2 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.6104, allocations: 55.33 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.6105, allocations: 0 / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.6105, allocations: 322.8 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.6112, allocations: 141.4 kB / 1.11 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.6119, allocations: 139.4 kB / 1.11 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.6125, allocations: 142.9 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6126, allocations: 3.188 kB / 1.11 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001428/0.614, allocations: 341.8 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.614, allocations: 4 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6141, allocations: 0 / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.6141, allocations: 5.125 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.6145, allocations: 47.42 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6145, allocations: 0 / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.6149, allocations: 52.17 kB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.6149, allocations: 0 / 1.11 GB, free: 177.5 MB / 0.6823 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 0.0001196/0.615, allocations: 129.8 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.6151, allocations: 15.77 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.6151, allocations: 12.28 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/0.6152, allocations: 15.92 kB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6152, allocations: 0 / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6152, allocations: 0 / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/0.6155, allocations: 226.6 kB / 1.111 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6155, allocations: 4.562 kB / 1.111 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.6159, allocations: 50.39 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6159, allocations: 3.938 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.616, allocations: 9.453 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.616, allocations: 3.5 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.616, allocations: 1.25 kB / 1.111 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.6174, allocations: 436.8 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.6175, allocations: 88.92 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.6175, allocations: 0 / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.6179, allocations: 54.48 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.618, allocations: 11.97 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.618, allocations: 4 kB / 1.111 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.878e-05/0.6181, allocations: 110.9 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6181, allocations: 1.219 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003712/0.6185, allocations: 43.92 kB / 1.111 GB, free: 176.2 MB / 0.6823 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.001752/0.6203, allocations: 0.9854 MB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.6217, allocations: 305.9 kB / 1.113 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6217, allocations: 4 kB / 1.113 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006915/0.6224, allocations: 160.8 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.6229, allocations: 28.67 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.6263, allocations: 1.191 MB / 1.114 GB, free: 173.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.6265, allocations: 0.7275 MB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.6267, allocations: 18.78 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.6268, allocations: 39.42 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.6268, allocations: 0 / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.6484, allocations: 2.975 MB / 1.118 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.6487, allocations: 204.1 kB / 1.118 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/3.295, allocations: 0 / 1.118 GB, free: 169.9 MB / 0.6823 GB