Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.28/2.28, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.001487/0.001487, allocations: 195.5 kB / 315.4 MB, free: 4.008 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.067/2.067, allocations: 205.2 MB / 0.5662 GB, free: 0.5234 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.001092/0.001092, allocations: 98.09 kB / 0.6704 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.622e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8629/1.071, allocations: 131.7 MB / 1.013 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.072, allocations: 70.72 kB / 1.013 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004125/1.076, allocations: 0.9583 MB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.076, allocations: 0 / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.076, allocations: 0 / 1.014 GB, free: 6.113 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.0005445/1.076, allocations: 350.2 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/1.076, allocations: 8.031 kB / 1.014 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/1.076, allocations: 11.84 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/1.077, allocations: 171 kB / 1.014 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/1.077, allocations: 4 kB / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/1.077, allocations: 7.938 kB / 1.014 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001152/1.077, allocations: 23.61 kB / 1.014 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/1.077, allocations: 52.67 kB / 1.014 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/1.077, allocations: 0 / 1.014 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/1.077, allocations: 0 / 1.014 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.077, allocations: 0 / 1.014 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/1.078, allocations: 271.1 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/1.078, allocations: 43.94 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/1.078, allocations: 18.64 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/1.078, allocations: 0 / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/1.078, allocations: 34.56 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/1.078, allocations: 0 / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002967/1.078, allocations: 61.02 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/1.078, allocations: 59.22 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.078, allocations: 100.4 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/1.078, allocations: 25.7 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/1.079, allocations: 84.08 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/1.079, allocations: 11.81 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-06/1.079, allocations: 0 / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.079, allocations: 318.8 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/1.079, allocations: 15.5 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/1.079, allocations: 11.5 kB / 1.015 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.862e-05/1.079, allocations: 10.67 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.079, allocations: 3.938 kB / 1.015 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001848/1.079, allocations: 56.69 kB / 1.015 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.079, allocations: 4 kB / 1.015 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.079, allocations: 3.375 kB / 1.015 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.079, allocations: 0 / 1.015 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/1.079, allocations: 19.92 kB / 1.015 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.08, allocations: 3.938 kB / 1.015 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/1.08, allocations: 15.98 kB / 1.015 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/1.08, allocations: 0 / 1.015 GB, free: 4.242 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 (intLesEquThr.u,intLesEquThr.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 0.0001061/1.08, allocations: 108.9 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001819/1.08, allocations: 63.03 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/1.08, allocations: 0 / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/1.08, allocations: 12.33 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.08, allocations: 0 / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.08, allocations: 240 / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/1.08, allocations: 7.953 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/1.08, allocations: 147.9 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.08, allocations: 3.984 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/1.081, allocations: 19.92 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/1.081, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/1.081, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.081, allocations: 3.984 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.081, allocations: 0 / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/1.081, allocations: 163.8 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/1.081, allocations: 77.11 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/1.081, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/1.081, allocations: 11.98 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/1.081, allocations: 11.17 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/1.081, allocations: 0 / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.652e-05/1.081, allocations: 90.39 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/1.081, allocations: 0 / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003337/1.082, allocations: 12 kB / 1.016 GB, free: 3.469 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 (intLesEquThr.u,intLesEquThr.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.0006176/1.082, allocations: 0.7022 MB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001607/1.083, allocations: 26.12 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.083, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/1.083, allocations: 23.42 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/1.083, allocations: 15.31 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/1.083, allocations: 112.4 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/1.084, allocations: 0.6846 MB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.04e-05/1.084, allocations: 15.92 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/1.084, allocations: 9.875 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/1.084, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03863/1.123, allocations: 1.189 MB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/1.123, allocations: 161.6 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.441, allocations: 0 / 1.019 GB, free: 472 kB / 0.6355 GB