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.Derivative.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.Derivative,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.01671/0.01671, allocations: 107.2 kB / 15.06 MB, free: 5.949 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.001618/0.001618, allocations: 186.2 kB / 15.95 MB, free: 5.902 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 2.133/2.133, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.407/2.407, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004917, allocations: 16 kB / 0.5871 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6681/0.6687, allocations: 98.72 MB / 0.6835 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001864/0.6706, allocations: 1.136 MB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005759/0.6712, allocations: 203.8 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.6713, allocations: 0 / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.6713, allocations: 3.938 kB / 0.6848 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.6715, allocations: 12.36 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.6717, allocations: 17.7 kB / 0.6848 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.6718, allocations: 38.58 kB / 0.6848 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.6719, allocations: 10.33 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.672, allocations: 16.67 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.338e-05/0.6721, allocations: 17.86 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.6721, allocations: 2.062 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.6721, allocations: 1.594 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.6721, allocations: 7.312 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.6722, allocations: 37.11 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.6723, allocations: 27.23 kB / 0.6849 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.6723, allocations: 0 / 0.6849 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6723, allocations: 1.062 kB / 0.6849 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.6723, allocations: 0 / 0.6849 GB, free: 15.65 MB / 0.5261 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.0005627/0.6729, allocations: 360.9 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.6729, allocations: 9.312 kB / 0.6853 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.558e-05/0.673, allocations: 36.55 kB / 0.6853 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.673, allocations: 10.41 kB / 0.6853 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.6732, allocations: 173.4 kB / 0.6855 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.6732, allocations: 5.375 kB / 0.6855 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.6733, allocations: 5.719 kB / 0.6855 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002642/0.6735, allocations: 63.38 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6736, allocations: 0 / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6736, allocations: 1.375 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6736, allocations: 4.516 kB / 0.6856 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003144/0.6739, allocations: 53.67 kB / 0.6856 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.6744, allocations: 291.4 kB / 0.6859 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003955/0.6748, allocations: 78.42 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.6749, allocations: 1.219 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.6749, allocations: 32.28 kB / 0.686 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.6749, allocations: 4 kB / 0.686 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0006236/0.6755, allocations: 115.2 kB / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6756, allocations: 65.2 kB / 0.6862 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.6757, allocations: 114.2 kB / 0.6863 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.6757, allocations: 25.7 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.6758, allocations: 91.98 kB / 0.6864 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.6758, allocations: 11.05 kB / 0.6864 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.6758, allocations: 5.312 kB / 0.6864 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.6759, allocations: 314.1 kB / 0.6867 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.6761, allocations: 29.98 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.6762, allocations: 30.95 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.6764, allocations: 31.45 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6764, allocations: 0 / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004046/0.6769, allocations: 100.1 kB / 0.6869 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.6769, allocations: 6.453 kB / 0.6869 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6769, allocations: 0 / 0.6869 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.6769, allocations: 5.406 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.6772, allocations: 23.14 kB / 0.6869 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.6772, allocations: 4 kB / 0.687 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.6773, allocations: 12.78 kB / 0.687 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.6773, allocations: 2.219 kB / 0.687 GB, free: 13.84 MB / 0.5261 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 8.157e-05/0.6774, allocations: 112.3 kB / 0.6871 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.6775, allocations: 6.938 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004225/0.6779, allocations: 102.4 kB / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6779, allocations: 1.062 kB / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6779, allocations: 0 / 0.6872 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.678, allocations: 5.406 kB / 0.6872 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.6782, allocations: 174.1 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6782, allocations: 1.469 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.6784, allocations: 19.52 kB / 0.6874 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.6784, allocations: 5.281 kB / 0.6874 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6784, allocations: 3.938 kB / 0.6874 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6784, allocations: 1.094 kB / 0.6874 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6784, allocations: 384 / 0.6874 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.679, allocations: 222.4 kB / 0.6876 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.6791, allocations: 79.06 kB / 0.6877 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.6791, allocations: 6.031 kB / 0.6877 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.6793, allocations: 12.48 kB / 0.6877 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.6793, allocations: 3.312 kB / 0.6877 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.6794, allocations: 5.781 kB / 0.6877 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.6794, allocations: 94.48 kB / 0.6878 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6794, allocations: 0 / 0.6878 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003115/0.6798, allocations: 6.625 kB / 0.6878 GB, free: 13.09 MB / 0.5261 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.0008853/0.6807, allocations: 0.763 MB / 0.6885 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.6811, allocations: 72.25 kB / 0.6886 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6811, allocations: 0 / 0.6886 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.6813, allocations: 31.02 kB / 0.6886 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.6816, allocations: 12.27 kB / 0.6886 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.6831, allocations: 0.5381 MB / 0.6892 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.6833, allocations: 0.6949 MB / 0.6898 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.773e-05/0.6833, allocations: 3.156 kB / 0.6899 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.6834, allocations: 15.36 kB / 0.6899 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/0.6834, allocations: 0 / 0.6899 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.7067, allocations: 1.502 MB / 0.6913 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.707, allocations: 192.6 kB / 0.6915 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/3.072, allocations: 0 / 0.6915 GB, free: 10.82 MB / 0.5261 GB