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.Conversions.Validation.BooleanToReal.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.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.01606/0.01607, allocations: 107.5 kB / 15.06 MB, free: 6.027 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.001816/0.001816, allocations: 182 kB / 15.95 MB, free: 5.953 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.266/2.266, allocations: 194.5 MB / 211.2 MB, free: 11.04 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.452/2.452, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004896, allocations: 16 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.7385, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.001647/0.7402, allocations: 1.018 MB / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004658/0.7407, allocations: 188.7 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.7408, allocations: 0 / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.7408, allocations: 4.734 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.7409, allocations: 2.266 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.7411, allocations: 8.625 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.7412, allocations: 21.31 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.7413, allocations: 4.594 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.7413, allocations: 12.09 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.7414, allocations: 14.69 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.7414, allocations: 5.969 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.7414, allocations: 0.9688 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.7415, allocations: 2.406 kB / 0.6847 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.236e-05/0.7415, allocations: 28.64 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.117e-05/0.7416, allocations: 23.91 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.7416, allocations: 3.938 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7416, allocations: 1.406 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.7416, allocations: 0 / 0.6847 GB, free: 15.78 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000495/0.7421, allocations: 349.8 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7422, allocations: 8.375 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.458e-05/0.7422, allocations: 35.88 kB / 0.6851 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.7423, allocations: 6.094 kB / 0.6851 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7424, allocations: 167.3 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.7424, allocations: 5.406 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.7424, allocations: 2.172 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.7425, allocations: 39.19 kB / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.7426, allocations: 1.281 kB / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.7426, allocations: 4 kB / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7426, allocations: 0 / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.907e-05/0.7427, allocations: 14.11 kB / 0.6853 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.7431, allocations: 260.9 kB / 0.6856 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.7436, allocations: 92.3 kB / 0.6857 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.7436, allocations: 1.438 kB / 0.6857 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.7438, allocations: 61.27 kB / 0.6857 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 3.116e-06/0.7438, allocations: 0 / 0.6857 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002239/0.7441, allocations: 61.83 kB / 0.6858 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.7441, allocations: 57.38 kB / 0.6859 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.7442, allocations: 109.7 kB / 0.686 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.7442, allocations: 26.86 kB / 0.686 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.7443, allocations: 82.5 kB / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.7443, allocations: 9.531 kB / 0.6861 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.7443, allocations: 0 / 0.6861 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.7444, allocations: 318.3 kB / 0.6864 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.7444, allocations: 10.47 kB / 0.6864 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/0.7445, allocations: 19.66 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.7445, allocations: 13.64 kB / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7445, allocations: 0 / 0.6864 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001189/0.7447, allocations: 55.22 kB / 0.6865 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.7447, allocations: 5.219 kB / 0.6865 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.7447, allocations: 0.75 kB / 0.6865 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.7447, allocations: 5.031 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.922e-05/0.7448, allocations: 16.42 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.7448, allocations: 0 / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.7449, allocations: 12.19 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.7449, allocations: 1.094 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 7.277e-05/0.745, allocations: 117.8 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.745, allocations: 2.859 kB / 0.6866 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.7451, allocations: 6.562 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7451, allocations: 4.375 kB / 0.6866 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7451, allocations: 5.109 kB / 0.6866 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7451, allocations: 0 / 0.6866 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.7453, allocations: 176.5 kB / 0.6868 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7453, allocations: 0 / 0.6868 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.7453, allocations: 2.375 kB / 0.6868 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.7453, allocations: 0.75 kB / 0.6868 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.7453, allocations: 1.281 kB / 0.6868 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7454, allocations: 0 / 0.6868 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7454, allocations: 2.547 kB / 0.6868 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.7455, allocations: 90.73 kB / 0.6869 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.7456, allocations: 79.92 kB / 0.687 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.7456, allocations: 0 / 0.687 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.7457, allocations: 7.312 kB / 0.687 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.7457, allocations: 4.422 kB / 0.687 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.7457, allocations: 1.75 kB / 0.687 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.7458, allocations: 86.95 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.3e-07/0.7458, allocations: 4 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002669/0.7461, allocations: 6.469 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003396/0.7464, allocations: 0.6243 MB / 0.6877 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.7466, allocations: 21.61 kB / 0.6877 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.7466, allocations: 4.062 kB / 0.6877 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.7467, allocations: 13.41 kB / 0.6877 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.7469, allocations: 6.719 kB / 0.6877 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/0.7477, allocations: 0.5586 MB / 0.6883 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.7478, allocations: 0.6823 MB / 0.6889 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.471e-05/0.7479, allocations: 2.953 kB / 0.689 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.7479, allocations: 14.17 kB / 0.689 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.7479, allocations: 0 / 0.689 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.7667, allocations: 1.218 MB / 0.6902 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.767, allocations: 198.9 kB / 0.6903 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.19, allocations: 3.938 kB / 0.6903 GB, free: 11.11 MB / 0.5261 GB