Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.232/2.232, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001469/0.001469, allocations: 175.5 kB / 315.4 MB, free: 4 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.053/2.053, allocations: 205.3 MB / 0.5662 GB, free: 0.6289 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.001067/0.001067, allocations: 93.28 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.638e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9076/1.118, allocations: 135.4 MB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.119, allocations: 76.58 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06081/1.179, allocations: 10.52 MB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.044e-06/1.179, allocations: 4 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.186e-05/1.179, allocations: 4 kB / 1.027 GB, free: 10.7 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001039/1.181, allocations: 0.5232 MB / 1.027 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.181, allocations: 12.03 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/1.181, allocations: 31.53 kB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.182, allocations: 376 kB / 1.028 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/1.182, allocations: 8 kB / 1.028 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/1.182, allocations: 8 kB / 1.028 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002174/1.182, allocations: 62.34 kB / 1.028 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/1.182, allocations: 97.17 kB / 1.028 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.182, allocations: 3.938 kB / 1.028 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/1.182, allocations: 3.984 kB / 1.028 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/1.182, allocations: 4 kB / 1.028 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.184, allocations: 483.8 kB / 1.028 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/1.184, allocations: 117.9 kB / 1.028 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/1.184, allocations: 43.09 kB / 1.028 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/1.184, allocations: 0 / 1.028 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/1.185, allocations: 110.2 kB / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/1.185, allocations: 0 / 1.028 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.00105/1.186, allocations: 163.6 kB / 1.029 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/1.186, allocations: 59.34 kB / 1.029 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/1.187, allocations: 448.4 kB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/1.187, allocations: 25.7 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/1.188, allocations: 157.6 kB / 1.029 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/1.188, allocations: 42.11 kB / 1.029 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/1.188, allocations: 0 / 1.029 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.188, allocations: 349.1 kB / 1.03 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/1.188, allocations: 107.4 kB / 1.03 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/1.188, allocations: 139.9 kB / 1.03 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/1.189, allocations: 113.7 kB / 1.03 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.189, allocations: 4 kB / 1.03 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008444/1.19, allocations: 336.6 kB / 1.03 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.19, allocations: 4 kB / 1.03 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.19, allocations: 0 / 1.03 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.19, allocations: 4.219 kB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/1.19, allocations: 55.09 kB / 1.03 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.19, allocations: 11.83 kB / 1.03 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/1.19, allocations: 15.84 kB / 1.03 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/1.191, allocations: 18.67 kB / 1.03 GB, free: 7.238 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001418/1.191, allocations: 116.5 kB / 1.031 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004468/1.191, allocations: 165.6 kB / 1.031 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.823e-05/1.191, allocations: 31.62 kB / 1.031 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005433/1.192, allocations: 188.1 kB / 1.031 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.192, allocations: 0 / 1.031 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.192, allocations: 0 / 1.031 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/1.192, allocations: 0 / 1.031 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/1.192, allocations: 290.1 kB / 1.031 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.192, allocations: 4 kB / 1.031 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/1.193, allocations: 15.98 kB / 1.031 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/1.193, allocations: 0 / 1.031 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/1.193, allocations: 0 / 1.031 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.193, allocations: 4 kB / 1.031 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.193, allocations: 7.953 kB / 1.031 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/1.193, allocations: 204 kB / 1.031 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/1.193, allocations: 112.2 kB / 1.032 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/1.193, allocations: 15.23 kB / 1.032 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/1.194, allocations: 4 kB / 1.032 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/1.194, allocations: 19.59 kB / 1.032 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/1.194, allocations: 11.52 kB / 1.032 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004925/1.194, allocations: 287.9 kB / 1.032 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.194, allocations: 4 kB / 1.032 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005204/1.195, allocations: 55.94 kB / 1.032 GB, free: 5.855 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001876/1.197, allocations: 1.001 MB / 1.033 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005316/1.197, allocations: 178.5 kB / 1.033 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.197, allocations: 4.125 kB / 1.033 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/1.197, allocations: 65.36 kB / 1.033 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/1.198, allocations: 77.14 kB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.2, allocations: 0.4888 MB / 1.034 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004662/1.2, allocations: 0.7971 MB / 1.034 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002842/1.2, allocations: 55.23 kB / 1.034 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/1.201, allocations: 108.3 kB / 1.035 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.201, allocations: 4 kB / 1.035 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/1.249, allocations: 6.215 MB / 1.041 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/1.249, allocations: 173.6 kB / 1.041 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.616/3.865, allocations: 0 / 1.041 GB, free: 12.97 MB / 0.6667 GB