Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001235/0.001235, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001156/0.001156, allocations: 185 kB / 24.09 MB, free: 416 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.9066/0.9066, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.74/1.74, allocations: 359 MB / 0.6055 GB, free: 10.86 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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.543e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001521/0.001546, allocations: 0.7203 MB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008298/0.002376, allocations: 0.8747 MB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.002415, allocations: 5.219 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.00244, allocations: 3.938 kB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.002515, allocations: 11.92 kB / 0.7891 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.002637, allocations: 24.75 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.65e-05/0.002704, allocations: 43.86 kB / 0.7892 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.002793, allocations: 17.16 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.002878, allocations: 23.98 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.002928, allocations: 23.91 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.002947, allocations: 5.406 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.737e-06/0.002956, allocations: 4 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.002973, allocations: 7.984 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.002994, allocations: 15.92 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.925e-05/0.003074, allocations: 41.39 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003076, allocations: 0 / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003077, allocations: 0 / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003081, allocations: 3.984 kB / 0.7893 GB, free: 10.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003353/0.003417, allocations: 373.1 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.003452, allocations: 13.06 kB / 0.7897 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.003479, allocations: 8.891 kB / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.156e-05/0.003551, allocations: 112.6 kB / 0.7898 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.003566, allocations: 2.312 kB / 0.7898 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.003576, allocations: 8.375 kB / 0.7898 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.003684, allocations: 62.92 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.003691, allocations: 3.938 kB / 0.7899 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-06/0.003698, allocations: 0.6562 kB / 0.7899 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003702, allocations: 3.938 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.00373, allocations: 17.05 kB / 0.7899 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.003995, allocations: 260.3 kB / 0.7902 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.324e-05/0.004069, allocations: 44.64 kB / 0.7902 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.004088, allocations: 19.59 kB / 0.7902 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.004106, allocations: 4 kB / 0.7902 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.004126, allocations: 35.17 kB / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.004127, allocations: 0 / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001307/0.004258, allocations: 53.72 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.004282, allocations: 55.41 kB / 0.7904 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.004351, allocations: 176.4 kB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.004362, allocations: 25.7 kB / 0.7906 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.004408, allocations: 134.9 kB / 0.7907 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.004423, allocations: 7.953 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.004453, allocations: 23.36 kB / 0.7907 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.004566, allocations: 0.4883 MB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.004584, allocations: 7.984 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.247e-05/0.004596, allocations: 4.625 kB / 0.7912 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.004632, allocations: 29.59 kB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.004634, allocations: 0 / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.725e-05/0.004701, allocations: 57.58 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.004711, allocations: 4 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.004715, allocations: 1.75 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.00473, allocations: 0 / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.004797, allocations: 15.88 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.004802, allocations: 7.984 kB / 0.7913 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.004829, allocations: 4.656 kB / 0.7913 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.004833, allocations: 0 / 0.7913 GB, free: 8.133 MB / 0.7448 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 6.154e-05/0.004895, allocations: 157.5 kB / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.00491, allocations: 7.891 kB / 0.7915 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.00493, allocations: 13.94 kB / 0.7915 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.004932, allocations: 3.984 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.004933, allocations: 0 / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.004937, allocations: 0 / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.005031, allocations: 109.2 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005032, allocations: 2.188 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.005061, allocations: 8 kB / 0.7916 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005062, allocations: 0 / 0.7916 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.005067, allocations: 3.938 kB / 0.7916 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005068, allocations: 0 / 0.7916 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.00507, allocations: 3.984 kB / 0.7916 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.005174, allocations: 196.4 kB / 0.7918 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.005185, allocations: 12.61 kB / 0.7918 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.005194, allocations: 3.938 kB / 0.7918 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.934e-05/0.005233, allocations: 8.516 kB / 0.7918 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.005271, allocations: 13.61 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.005275, allocations: 0 / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.005311, allocations: 131.2 kB / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005311, allocations: 0 / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001304/0.005441, allocations: 12 kB / 0.792 GB, free: 7.41 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: 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 8.256e-05/0.005524, allocations: 97.09 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.511e-05/0.005589, allocations: 23.67 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.00559, allocations: 3.938 kB / 0.7921 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.005616, allocations: 24.83 kB / 0.7921 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.005787, allocations: 8 kB / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002279/0.006015, allocations: 135.5 kB / 0.7923 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.199e-05/0.006047, allocations: 51.36 kB / 0.7923 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.669e-05/0.006073, allocations: 5.75 kB / 0.7923 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.006128, allocations: 79.47 kB / 0.7924 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.006129, allocations: 0 / 0.7924 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.002346/0.008474, allocations: 1.055 MB / 0.7934 GB, free: 5.914 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.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: 4.872867660596967]