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.Average.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.Average,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.01093/0.01093, allocations: 108.6 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.001225/0.001224, allocations: 181 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 2.162/2.162, 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.331/2.331, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007918/0.0007919, allocations: 16 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7196/0.7205, allocations: 98.71 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.244/0.9645, allocations: 124.3 MB / 0.8048 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.9648, allocations: 63.97 kB / 0.8049 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003338/0.9682, allocations: 0.8266 MB / 0.8057 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9682, allocations: 0 / 0.8057 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9683, allocations: 0 / 0.8057 GB, free: 1.016 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006161/0.9689, allocations: 379.2 kB / 0.806 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.9689, allocations: 8.031 kB / 0.806 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.969, allocations: 34.5 kB / 0.8061 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.969, allocations: 4 kB / 0.8061 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.9692, allocations: 174.9 kB / 0.8062 GB, free: 340 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.9692, allocations: 11.98 kB / 0.8062 GB, free: 328 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.9692, allocations: 0 / 0.8062 GB, free: 328 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.9696, allocations: 81.66 kB / 0.8063 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.9696, allocations: 0 / 0.8063 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.9697, allocations: 0 / 0.8063 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9697, allocations: 0 / 0.8063 GB, free: 240 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000549/0.9702, allocations: 87.92 kB / 0.8064 GB, free: 152 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.971, allocations: 304.9 kB / 0.8067 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.9713, allocations: 66.53 kB / 0.8068 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.9713, allocations: 3.828 kB / 0.8068 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.9714, allocations: 38.5 kB / 0.8068 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.9714, allocations: 0 / 0.8068 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0009698/0.9724, allocations: 165.8 kB / 0.807 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.9724, allocations: 55.36 kB / 0.807 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.9726, allocations: 101 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.9726, allocations: 25.7 kB / 0.8071 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.9727, allocations: 88.05 kB / 0.8072 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.9727, allocations: 11.89 kB / 0.8072 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.9727, allocations: 0 / 0.8072 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9728, allocations: 318.8 kB / 0.8075 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.9731, allocations: 39.97 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.9734, allocations: 51.94 kB / 0.8076 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.9737, allocations: 39.97 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9737, allocations: 0 / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000619/0.9744, allocations: 121.5 kB / 0.8078 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.9744, allocations: 8 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9744, allocations: 4 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.9744, allocations: 0 / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.9747, allocations: 19.98 kB / 0.8078 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.9747, allocations: 0 / 0.8078 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.9749, allocations: 23.84 kB / 0.8078 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.9749, allocations: 4 kB / 0.8078 GB, free: 14.57 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 (3): * Single equations (assignments): 3 * 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.00011/0.975, allocations: 117.8 kB / 0.8079 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.975, allocations: 3.984 kB / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.9751, allocations: 3.906 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9751, allocations: 0 / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.9751, allocations: 4 kB / 0.808 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.9751, allocations: 4 kB / 0.808 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.9754, allocations: 169.6 kB / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.9754, allocations: 0 / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.9756, allocations: 23.97 kB / 0.8081 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.9756, allocations: 4 kB / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.9756, allocations: 0 / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.9756, allocations: 0 / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9756, allocations: 3.938 kB / 0.8082 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006943/0.9763, allocations: 223.3 kB / 0.8084 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.9764, allocations: 77.11 kB / 0.8084 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.9764, allocations: 11.98 kB / 0.8085 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.9766, allocations: 11.98 kB / 0.8085 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.9767, allocations: 8 kB / 0.8085 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.9767, allocations: 0 / 0.8085 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.403e-05/0.9768, allocations: 87.27 kB / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9768, allocations: 3.938 kB / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002802/0.9771, allocations: 8 kB / 0.8086 GB, free: 13.72 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 (3): * Single equations (assignments): 3 * 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.001007/0.9781, allocations: 0.7592 MB / 0.8093 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000617/0.9787, allocations: 87.92 kB / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.9788, allocations: 0 / 0.8094 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.9791, allocations: 47.97 kB / 0.8094 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.9794, allocations: 7.984 kB / 0.8094 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.9799, allocations: 162.9 kB / 0.8096 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.9803, allocations: 0.6887 MB / 0.8103 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.226e-05/0.9803, allocations: 432 / 0.8103 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.9804, allocations: 11.44 kB / 0.8103 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.9804, allocations: 0 / 0.8103 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.9995, allocations: 1.296 MB / 0.8115 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003625/1, allocations: 187.4 kB / 0.8117 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.534, allocations: 0 / 0.8117 GB, free: 10.45 MB / 0.6355 GB