Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 71.75 kB / 20.97 MB, free: 3.574 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 173 kB / 24.28 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.96/0.96, allocations: 177.1 MB / 204.6 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.811/1.811, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.918e-06/3.918e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.237e-05/4.629e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003555/0.003602, allocations: 2.041 MB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.005635, allocations: 1.305 MB / 0.7904 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.005798, allocations: 3.938 kB / 0.7904 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.006344, allocations: 163.4 kB / 0.7905 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004969/0.00684, allocations: 215.1 kB / 0.7908 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.007191, allocations: 163.5 kB / 0.7909 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.00758, allocations: 342.9 kB / 0.7912 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.007782, allocations: 40.91 kB / 0.7913 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.008026, allocations: 187.5 kB / 0.7915 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.008246, allocations: 144.4 kB / 0.7916 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.008282, allocations: 13.66 kB / 0.7916 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.00842, allocations: 59.91 kB / 0.7917 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.008539, allocations: 107.6 kB / 0.7918 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.008626, allocations: 67.72 kB / 0.7918 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.009014, allocations: 251 kB / 0.7921 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.009019, allocations: 5.344 kB / 0.7921 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.894e-06/0.009021, allocations: 0 / 0.7921 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.009029, allocations: 0 / 0.7921 GB, free: 7.711 MB / 0.7448 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.0009448/0.009973, allocations: 0.6755 MB / 0.7927 GB, free: 7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/0.01004, allocations: 12.02 kB / 0.7927 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.01015, allocations: 40.7 kB / 0.7928 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.01063, allocations: 308 kB / 0.7931 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.01067, allocations: 8.125 kB / 0.7931 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.01069, allocations: 11.98 kB / 0.7931 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.01093, allocations: 99.78 kB / 0.7932 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.01094, allocations: 0 / 0.7932 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.01096, allocations: 8 kB / 0.7932 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.01097, allocations: 0 / 0.7932 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.277e-05/0.01105, allocations: 36.41 kB / 0.7932 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.01178, allocations: 452.5 kB / 0.7937 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.01199, allocations: 100.9 kB / 0.7938 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.01205, allocations: 27.67 kB / 0.7938 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.01207, allocations: 8.469 kB / 0.7938 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.01225, allocations: 101.5 kB / 0.7939 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.315e-06/0.01225, allocations: 0 / 0.7939 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003645/0.01262, allocations: 178.6 kB / 0.7941 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.01267, allocations: 63.33 kB / 0.7941 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.01317, allocations: 454.6 kB / 0.7946 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.01319, allocations: 30.36 kB / 0.7946 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01333, allocations: 231.2 kB / 0.7948 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.01336, allocations: 40.45 kB / 0.7948 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.01345, allocations: 71.62 kB / 0.7949 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.01361, allocations: 0.5246 MB / 0.7954 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.0137, allocations: 40.53 kB / 0.7955 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.01381, allocations: 85.02 kB / 0.7955 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.01397, allocations: 112.2 kB / 0.7957 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01398, allocations: 0 / 0.7957 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002982/0.01428, allocations: 227.4 kB / 0.7959 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.0143, allocations: 8.25 kB / 0.7959 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01431, allocations: 4 kB / 0.7959 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.01433, allocations: 0 / 0.7959 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.0145, allocations: 55.91 kB / 0.7959 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.01451, allocations: 3.938 kB / 0.7959 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.01459, allocations: 23.88 kB / 0.796 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.01462, allocations: 11.16 kB / 0.796 GB, free: 3.5 MB / 0.7448 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.01477, allocations: 172.5 kB / 0.7961 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.01481, allocations: 39.75 kB / 0.7962 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.01509, allocations: 164.1 kB / 0.7963 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.01509, allocations: 7.938 kB / 0.7963 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.0151, allocations: 7.938 kB / 0.7963 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.01511, allocations: 5.203 kB / 0.7964 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.01533, allocations: 240.5 kB / 0.7966 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01533, allocations: 4 kB / 0.7966 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.01539, allocations: 16.56 kB / 0.7966 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.01539, allocations: 0 / 0.7966 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.01541, allocations: 4.547 kB / 0.7966 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01541, allocations: 1 kB / 0.7966 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01541, allocations: 4 kB / 0.7966 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.01566, allocations: 197 kB / 0.7968 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.01572, allocations: 47.69 kB / 0.7968 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.01575, allocations: 4 kB / 0.7968 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.868e-05/0.01581, allocations: 8.797 kB / 0.7969 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.01589, allocations: 31.89 kB / 0.7969 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.0159, allocations: 8.875 kB / 0.7969 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002033/0.01611, allocations: 279.1 kB / 0.7972 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01611, allocations: 0.6562 kB / 0.7972 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002257/0.01633, allocations: 59.98 kB / 0.7972 GB, free: 2.16 MB / 0.7448 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.y,reaToInt.y,reaToInt1.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) * Number of clocked states: 0 () * 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 (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.00111/0.01744, allocations: 396.9 kB / 0.7976 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.01772, allocations: 122.6 kB / 0.7977 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01773, allocations: 5.344 kB / 0.7977 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.01781, allocations: 59.53 kB / 0.7978 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.01818, allocations: 89.73 kB / 0.7979 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007853/0.01896, allocations: 483.7 kB / 0.7983 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.757e-05/0.01905, allocations: 112.5 kB / 0.7984 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.937e-05/0.01915, allocations: 50.92 kB / 0.7985 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.01923, allocations: 40.48 kB / 0.7985 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of SimCode: time 1.413e-06/0.01923, allocations: 7.875 kB / 0.7985 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of Templates: time 0.008429/0.02766, allocations: 4.521 MB / 0.8029 GB, free: 12.48 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.314692871877924]