Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.014/4.014, allocations: 432.6 MB / 445.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.958e-05, allocations: 9.375 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.4228, allocations: 124.2 MB / 0.756 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4232, allocations: 75.91 kB / 0.7561 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003989/0.4272, allocations: 1.157 MB / 0.7572 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4272, allocations: 0 / 0.7572 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.4272, allocations: 4 kB / 0.7572 GB, free: 4.277 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003969/0.4277, allocations: 362.3 kB / 0.7576 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.4277, allocations: 12.03 kB / 0.7576 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.4278, allocations: 34.56 kB / 0.7576 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.4278, allocations: 19.84 kB / 0.7576 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.428, allocations: 178.8 kB / 0.7578 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.428, allocations: 12 kB / 0.7578 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.4281, allocations: 4 kB / 0.7578 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.4283, allocations: 87.41 kB / 0.7579 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4283, allocations: 0 / 0.7579 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.4284, allocations: 11.98 kB / 0.7579 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4284, allocations: 0 / 0.7579 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4285, allocations: 39.94 kB / 0.7579 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.4292, allocations: 460.6 kB / 0.7584 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.876e-05/0.4293, allocations: 45.09 kB / 0.7584 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.4294, allocations: 19.66 kB / 0.7585 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.4294, allocations: 0 / 0.7585 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4294, allocations: 38.5 kB / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.4294, allocations: 0 / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/0.4296, allocations: 49.59 kB / 0.7585 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4297, allocations: 81.17 kB / 0.7586 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.4299, allocations: 153.1 kB / 0.7588 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.4299, allocations: 25.7 kB / 0.7588 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.43, allocations: 112.1 kB / 0.7589 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.43, allocations: 7.906 kB / 0.7589 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.43, allocations: 3.938 kB / 0.7589 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4302, allocations: 322.8 kB / 0.7592 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.008e-05/0.4302, allocations: 8 kB / 0.7592 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.4303, allocations: 25.72 kB / 0.7592 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.962e-05/0.4303, allocations: 11.98 kB / 0.7593 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4303, allocations: 0 / 0.7593 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.4305, allocations: 57.55 kB / 0.7593 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.4305, allocations: 10.03 kB / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4305, allocations: 0 / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4305, allocations: 0 / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4307, allocations: 16.05 kB / 0.7593 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4307, allocations: 4 kB / 0.7593 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.4307, allocations: 7.875 kB / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4308, allocations: 4 kB / 0.7593 GB, free: 1.844 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.885e-05/0.4308, allocations: 107 kB / 0.7594 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.4309, allocations: 11.81 kB / 0.7595 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.431, allocations: 16.55 kB / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.431, allocations: 0 / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.431, allocations: 0 / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.431, allocations: 4 kB / 0.7595 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.4315, allocations: 474.8 kB / 0.7599 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4315, allocations: 0 / 0.7599 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.4316, allocations: 7.984 kB / 0.7599 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4316, allocations: 0 / 0.7599 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4316, allocations: 4 kB / 0.7599 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4316, allocations: 0 / 0.7599 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.4316, allocations: 3.938 kB / 0.7599 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.4318, allocations: 95.64 kB / 0.76 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.4318, allocations: 89 kB / 0.7601 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.4319, allocations: 4 kB / 0.7601 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.4319, allocations: 0 / 0.7601 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.4319, allocations: 96 / 0.7601 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.432, allocations: 15.97 kB / 0.7601 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001329/0.4321, allocations: 127.2 kB / 0.7603 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4321, allocations: 0 / 0.7603 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002473/0.4324, allocations: 8 kB / 0.7603 GB, free: 0.7812 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0004313/0.4328, allocations: 0.7069 MB / 0.761 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.4329, allocations: 23.98 kB / 0.761 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.433, allocations: 0 / 0.761 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.433, allocations: 7.938 kB / 0.761 GB, free: 8 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.4331, allocations: 12 kB / 0.761 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.4336, allocations: 143.8 kB / 0.7611 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.4339, allocations: 0.7004 MB / 0.7618 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.416e-05/0.434, allocations: 4.438 kB / 0.7618 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.434, allocations: 27.42 kB / 0.7619 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/0.434, allocations: 0 / 0.7619 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.4567, allocations: 1.552 MB / 0.7634 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.4571, allocations: 162 kB / 0.7635 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.606, allocations: 0 / 0.7635 GB, free: 13.35 MB / 0.6511 GB