Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.427/2.427, allocations: 248.7 MB / 256.2 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001461/0.001461, allocations: 180 kB / 315.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.3 MB / 0.5662 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 95.98 kB / 0.6704 GB, free: 5.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.249e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2085, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8726/1.081, allocations: 131.7 MB / 1.013 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/1.081, allocations: 70.2 kB / 1.013 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004129/1.086, allocations: 0.9716 MB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.373e-06/1.086, allocations: 0.75 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.985e-06/1.086, allocations: 0 / 1.014 GB, free: 6.191 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005856/1.086, allocations: 350.3 kB / 1.014 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.086, allocations: 8.031 kB / 1.014 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/1.086, allocations: 7.906 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/1.087, allocations: 175 kB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/1.087, allocations: 7.938 kB / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/1.087, allocations: 0 / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001244/1.087, allocations: 27.75 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.087, allocations: 53.11 kB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.087, allocations: 4 kB / 1.014 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/1.087, allocations: 0 / 1.014 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/1.087, allocations: 0 / 1.014 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/1.088, allocations: 268.3 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/1.088, allocations: 41.27 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/1.088, allocations: 24.77 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/1.088, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/1.088, allocations: 30.56 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.542e-06/1.088, allocations: 4 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002338/1.088, allocations: 60.95 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/1.088, allocations: 55.34 kB / 1.015 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/1.088, allocations: 101.8 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.088, allocations: 25.7 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.776e-05/1.088, allocations: 87.64 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/1.088, allocations: 7.812 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/1.088, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.089, allocations: 322.7 kB / 1.015 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.284e-05/1.089, allocations: 15.67 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/1.089, allocations: 11.75 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/1.089, allocations: 7.875 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.089, allocations: 0 / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001447/1.089, allocations: 53.25 kB / 1.015 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.089, allocations: 8 kB / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.089, allocations: 0 / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.089, allocations: 3.984 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/1.089, allocations: 15.98 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.089, allocations: 4 kB / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/1.089, allocations: 15.88 kB / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/1.089, allocations: 3.984 kB / 1.015 GB, free: 4.32 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: 2 (intLesThr.u,intLesThr.y) * 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 8.51e-05/1.089, allocations: 108.9 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001567/1.09, allocations: 61.28 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/1.09, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/1.09, allocations: 8.156 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/1.09, allocations: 8 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.09, allocations: 0 / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.09, allocations: 3.953 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/1.09, allocations: 149.8 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.09, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/1.09, allocations: 15.98 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.09, allocations: 0 / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/1.09, allocations: 3.938 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/1.09, allocations: 320 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.09, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/1.09, allocations: 169.6 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/1.09, allocations: 77.11 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.091, allocations: 0 / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/1.091, allocations: 12.86 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/1.091, allocations: 11.67 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/1.091, allocations: 0 / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.919e-05/1.091, allocations: 95.08 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.091, allocations: 0 / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003472/1.091, allocations: 8 kB / 1.016 GB, free: 3.547 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: 2 (intLesThr.u,intLesThr.y) * Number of discrete 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.0005573/1.092, allocations: 0.702 MB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001449/1.092, allocations: 31.77 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.092, allocations: 4 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.409e-05/1.092, allocations: 19.56 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/1.092, allocations: 3.984 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/1.093, allocations: 121.1 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/1.093, allocations: 0.6885 MB / 1.018 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.303e-05/1.093, allocations: 8 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/1.093, allocations: 14.98 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/1.093, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03324/1.127, allocations: 1.178 MB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/1.127, allocations: 160.7 kB / 1.019 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.416, allocations: 0 / 1.019 GB, free: 0.543 MB / 0.6355 GB