Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 107.3 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001159, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.048/2.048, allocations: 292.3 MB / 0.5495 GB, free: 17.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 68.47 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2583, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002261/0.2606, allocations: 0.6964 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2617, allocations: 0.836 MB / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.2618, allocations: 0 / 0.7856 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.2618, allocations: 3.938 kB / 0.7856 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.82e-05/0.2619, allocations: 7.938 kB / 0.7856 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.2621, allocations: 31.89 kB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.637e-05/0.2621, allocations: 35.92 kB / 0.7857 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2623, allocations: 15.98 kB / 0.7857 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.2624, allocations: 19.92 kB / 0.7857 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.2624, allocations: 27.89 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.2625, allocations: 4 kB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.2625, allocations: 8 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.2625, allocations: 15.94 kB / 0.7857 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.2626, allocations: 15.92 kB / 0.7858 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.2627, allocations: 51.8 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2627, allocations: 0 / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2627, allocations: 0 / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2627, allocations: 0 / 0.7858 GB, free: 2.094 MB / 0.6544 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.0005444/0.2632, allocations: 351.7 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2633, allocations: 8.031 kB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.2633, allocations: 12.84 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2635, allocations: 176.2 kB / 0.7863 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2635, allocations: 4.375 kB / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.2635, allocations: 384 / 0.7863 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.2637, allocations: 66.22 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2638, allocations: 192 / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2638, allocations: 7.875 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2638, allocations: 0 / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.264, allocations: 55.95 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.2645, allocations: 292.6 kB / 0.7867 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.2647, allocations: 66.53 kB / 0.7868 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.2648, allocations: 32.91 kB / 0.7868 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2648, allocations: 4 kB / 0.7868 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2649, allocations: 34.56 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.2649, allocations: 0 / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004034/0.2653, allocations: 109.6 kB / 0.787 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.2653, allocations: 51.41 kB / 0.787 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.2654, allocations: 113.7 kB / 0.7871 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2654, allocations: 29.7 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.2655, allocations: 92.12 kB / 0.7873 GB, free: 424 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.2655, allocations: 3.906 kB / 0.7873 GB, free: 420 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.2656, allocations: 17.72 kB / 0.7873 GB, free: 396 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2657, allocations: 314.8 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.2658, allocations: 27.98 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.2659, allocations: 27.91 kB / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4816/0.7475, allocations: 52.19 kB / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.7476, allocations: 0 / 0.7877 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002769/0.7479, allocations: 90.72 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7479, allocations: 5.25 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7479, allocations: 0.625 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.748, allocations: 0.5156 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.7481, allocations: 12.86 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7481, allocations: 0 / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.513e-05/0.7482, allocations: 9.031 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.7482, allocations: 5.594 kB / 0.7878 GB, free: 48.53 MB / 0.6544 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 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.056e-05/0.7483, allocations: 118.7 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.7484, allocations: 5.438 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.7484, allocations: 12.06 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7484, allocations: 0 / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.7484, allocations: 1.219 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7484, allocations: 0 / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.7486, allocations: 177.6 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7486, allocations: 0 / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.198e-05/0.7487, allocations: 13.91 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7487, allocations: 0 / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.7487, allocations: 5.625 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7487, allocations: 1.406 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7487, allocations: 0 / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.749, allocations: 183.7 kB / 0.7883 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.749, allocations: 83.73 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.749, allocations: 1 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.7491, allocations: 9.391 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.7492, allocations: 11.8 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.7492, allocations: 6.594 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.7493, allocations: 84.05 kB / 0.7885 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7493, allocations: 2.625 kB / 0.7885 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002266/0.7495, allocations: 15.97 kB / 0.7885 GB, free: 47.91 MB / 0.6544 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.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.7496, allocations: 98.38 kB / 0.7886 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.7499, allocations: 60.34 kB / 0.7886 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7499, allocations: 0 / 0.7886 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.75, allocations: 34.83 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.7504, allocations: 5.188 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.7507, allocations: 134.9 kB / 0.7888 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.7509, allocations: 0.6782 MB / 0.7895 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.332e-05/0.7509, allocations: 11.45 kB / 0.7895 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.751, allocations: 13.91 kB / 0.7895 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.751, allocations: 1.969 kB / 0.7895 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.003266/0.7543, allocations: 0.8784 MB / 0.7904 GB, free: 47.03 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)