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.Cos.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.Cos,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.01091/0.01091, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.00115/0.00115, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.126/2.126, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.343/2.343, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006915/0.0006913, allocations: 20 kB / 0.5871 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6748/0.6756, allocations: 98.71 MB / 0.6835 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/0.9163, allocations: 124.3 MB / 0.8049 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.9167, allocations: 67.97 kB / 0.8049 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002802/0.9195, allocations: 0.6778 MB / 0.8056 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9195, allocations: 0 / 0.8056 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.9196, allocations: 0 / 0.8056 GB, free: 1.078 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005854/0.9202, allocations: 343.4 kB / 0.8059 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/0.9202, allocations: 8.031 kB / 0.8059 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.582e-05/0.9203, allocations: 34.5 kB / 0.806 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.9204, allocations: 0 / 0.806 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.9205, allocations: 174.9 kB / 0.8061 GB, free: 444 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.9206, allocations: 0 / 0.8061 GB, free: 444 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.9206, allocations: 0 / 0.8061 GB, free: 444 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.9209, allocations: 61.67 kB / 0.8062 GB, free: 376 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.9209, allocations: 0 / 0.8062 GB, free: 376 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.921, allocations: 0 / 0.8062 GB, free: 376 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.921, allocations: 4 kB / 0.8062 GB, free: 372 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.9214, allocations: 43.95 kB / 0.8062 GB, free: 328 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.9221, allocations: 276.9 kB / 0.8065 GB, free: 16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.9224, allocations: 38.55 kB / 0.8065 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.9224, allocations: 7.938 kB / 0.8065 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.9225, allocations: 30.56 kB / 0.8066 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/0.9225, allocations: 0 / 0.8066 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0007286/0.9232, allocations: 101.7 kB / 0.8067 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.9233, allocations: 51.41 kB / 0.8067 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.938e-05/0.9234, allocations: 96.95 kB / 0.8068 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.9234, allocations: 25.7 kB / 0.8068 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.9235, allocations: 88.06 kB / 0.8069 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.9236, allocations: 11.91 kB / 0.8069 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.9236, allocations: 0 / 0.8069 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.9238, allocations: 314.9 kB / 0.8072 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.924, allocations: 19.98 kB / 0.8072 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.9242, allocations: 23.97 kB / 0.8073 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.9244, allocations: 24.05 kB / 0.8073 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.9244, allocations: 4 kB / 0.8073 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000448/0.9249, allocations: 73.61 kB / 0.8074 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.9249, allocations: 8.016 kB / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9249, allocations: 4 kB / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.925, allocations: 0 / 0.8074 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.9251, allocations: 8 kB / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.9252, allocations: 0 / 0.8074 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.9253, allocations: 11.98 kB / 0.8074 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.9253, allocations: 3.953 kB / 0.8074 GB, free: 15 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 (2): * Single equations (assignments): 2 * 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.0001201/0.9254, allocations: 113.8 kB / 0.8075 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.9255, allocations: 3.906 kB / 0.8075 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.926, allocations: 84.77 kB / 0.8076 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.926, allocations: 0 / 0.8076 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.926, allocations: 0 / 0.8076 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.926, allocations: 4.031 kB / 0.8076 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.9263, allocations: 161.6 kB / 0.8077 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9264, allocations: 0 / 0.8077 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.9265, allocations: 11.98 kB / 0.8078 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.9265, allocations: 0 / 0.8078 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.9266, allocations: 4.188 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9266, allocations: 3.938 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9266, allocations: 0 / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005053/0.9271, allocations: 179.5 kB / 0.8079 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.9272, allocations: 77.11 kB / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.9272, allocations: 4 kB / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.9274, allocations: 12.02 kB / 0.808 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.9275, allocations: 0 / 0.808 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.9275, allocations: 4 kB / 0.808 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.9276, allocations: 83.27 kB / 0.8081 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9276, allocations: 0 / 0.8081 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004527/0.9281, allocations: 4 kB / 0.8081 GB, free: 14.17 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 (2): * Single equations (assignments): 2 * 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.0009327/0.929, allocations: 0.7124 MB / 0.8088 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000434/0.9295, allocations: 48 kB / 0.8089 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.9295, allocations: 3.938 kB / 0.8089 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.9297, allocations: 27.91 kB / 0.8089 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.9301, allocations: 10.7 kB / 0.8089 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.9308, allocations: 147.4 kB / 0.809 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.9312, allocations: 0.6809 MB / 0.8097 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.942e-05/0.9313, allocations: 0 / 0.8097 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.9313, allocations: 7.438 kB / 0.8097 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of SimCode: time 1.273e-06/0.9313, allocations: 0 / 0.8097 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08549/1.017, allocations: 0.9932 MB / 0.8107 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/1.017, allocations: 181.8 kB / 0.8109 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/3.449, allocations: 4 kB / 0.8109 GB, free: 11.32 MB / 0.6355 GB