Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.14/2.14, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001628/0.001628, allocations: 178.7 kB / 325.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.394/2.394, allocations: 205.4 MB / 0.5764 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 99.77 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005023, allocations: 15.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.245/0.4739, allocations: 131.4 MB / 1.027 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4743, allocations: 67.97 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006697/0.481, allocations: 1.383 MB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.726e-06/0.4811, allocations: 0 / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.4811, allocations: 0 / 1.029 GB, free: 12.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007022/0.4818, allocations: 383 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.4819, allocations: 12.03 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.4819, allocations: 30.56 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.482, allocations: 8 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.4823, allocations: 186.8 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4824, allocations: 8 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.4824, allocations: 0 / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.4827, allocations: 69.66 kB / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4827, allocations: 0 / 1.029 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4828, allocations: 7.984 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4828, allocations: 0 / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.4831, allocations: 55.95 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.4838, allocations: 300.8 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.4841, allocations: 58.55 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.4842, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4842, allocations: 30.56 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.4842, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0006502/0.4849, allocations: 125.6 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.485, allocations: 55.36 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.4851, allocations: 101 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.4851, allocations: 25.7 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.4852, allocations: 88.14 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.4852, allocations: 7.812 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.4853, allocations: 12 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.4854, allocations: 315.7 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.4856, allocations: 23.98 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4858, allocations: 27.97 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.486, allocations: 35.98 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.486, allocations: 384 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004197/0.4864, allocations: 93.59 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.4865, allocations: 15.94 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4865, allocations: 0 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.4865, allocations: 4.125 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.4867, allocations: 19.98 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4867, allocations: 3.953 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.4869, allocations: 11.91 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4869, allocations: 0 / 1.031 GB, free: 10.12 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 (5): * Single equations (assignments): 5 * Array equations: 0 * 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.0001238/0.487, allocations: 121.8 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.4871, allocations: 0 / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.4875, allocations: 89.55 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4875, allocations: 7.938 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4876, allocations: 0 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4876, allocations: 7.953 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.4878, allocations: 173.6 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4879, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.4881, allocations: 19.98 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4881, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4881, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4881, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4881, allocations: 4 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.4888, allocations: 219.3 kB / 1.031 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.4889, allocations: 85.05 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.489, allocations: 4.062 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.4891, allocations: 7.984 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.4892, allocations: 4.281 kB / 1.031 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-06/0.4892, allocations: 3.938 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.868e-05/0.4893, allocations: 91.27 kB / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.3e-07/0.4893, allocations: 0 / 1.031 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003168/0.4896, allocations: 12 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * 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.001057/0.4907, allocations: 0.7515 MB / 1.032 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003981/0.4911, allocations: 63.89 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4912, allocations: 0 / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.4913, allocations: 36.03 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4916, allocations: 16.16 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4931, allocations: 0.5052 MB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.4935, allocations: 0.6887 MB / 1.033 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.803e-05/0.4935, allocations: 8.234 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.4936, allocations: 15.44 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/0.4936, allocations: 0 / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.517, allocations: 1.342 MB / 1.035 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.5173, allocations: 193.9 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/2.894, allocations: 4 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB