Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001033/0.001033, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001043/0.001043, allocations: 185 kB / 24.09 MB, free: 412 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.9914/0.9914, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.881/1.881, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.175e-05, allocations: 2.312 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001437/0.001459, allocations: 0.7173 MB / 0.8127 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009005/0.002359, allocations: 0.8781 MB / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.265e-05/0.002402, allocations: 0 / 0.8136 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.002429, allocations: 3.938 kB / 0.8136 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.002499, allocations: 7.875 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.002624, allocations: 20.95 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.002697, allocations: 47.91 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.002788, allocations: 17.44 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.003e-05/0.002878, allocations: 23.92 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.002929, allocations: 15.98 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.002949, allocations: 7.984 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.002958, allocations: 4.656 kB / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.002976, allocations: 11.92 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.002998, allocations: 17.23 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.82e-05/0.003086, allocations: 39.77 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003088, allocations: 0 / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003089, allocations: 2.438 kB / 0.8138 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003092, allocations: 0 / 0.8138 GB, free: 15.61 MB / 0.7761 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.0003242/0.003416, allocations: 376.6 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.003456, allocations: 8.031 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.003486, allocations: 12.89 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.373e-05/0.00356, allocations: 112.6 kB / 0.8143 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.003577, allocations: 5.219 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.003586, allocations: 4.375 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.003701, allocations: 64.03 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.003709, allocations: 3.938 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.003716, allocations: 0 / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.003721, allocations: 1.531 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.037e-05/0.003751, allocations: 15.92 kB / 0.8144 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002643/0.004015, allocations: 264.3 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.004088, allocations: 49.03 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.004111, allocations: 23.62 kB / 0.8147 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.00413, allocations: 8 kB / 0.8147 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.004149, allocations: 33.39 kB / 0.8147 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.004149, allocations: 1.531 kB / 0.8147 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001275/0.004277, allocations: 49.69 kB / 0.8148 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.004442, allocations: 55.41 kB / 0.8148 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.00451, allocations: 170.9 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.00452, allocations: 25.7 kB / 0.815 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.004564, allocations: 134.8 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.004579, allocations: 8.484 kB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.004609, allocations: 27.36 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.00471, allocations: 496.6 kB / 0.8157 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.004726, allocations: 8.906 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.00474, allocations: 7.984 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.004774, allocations: 20.41 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004776, allocations: 0 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.384e-05/0.00484, allocations: 54.11 kB / 0.8157 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.004851, allocations: 5.375 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.004855, allocations: 0 / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.004865, allocations: 4 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.004934, allocations: 9.141 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.004937, allocations: 3.938 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.004962, allocations: 4 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.004968, allocations: 8.891 kB / 0.8158 GB, free: 13.39 MB / 0.7761 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,intLesThr.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.109e-05/0.005029, allocations: 160.6 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.005046, allocations: 12.77 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.005068, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.005071, allocations: 0.8438 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005072, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005075, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.279e-05/0.005168, allocations: 102.5 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005169, allocations: 0 / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.005198, allocations: 11.98 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.005199, allocations: 0.8125 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.005205, allocations: 7.938 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.005206, allocations: 1.188 kB / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.005207, allocations: 0 / 0.8161 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.00532, allocations: 201.8 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.005329, allocations: 15.88 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.005339, allocations: 7.938 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.005376, allocations: 4 kB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.005417, allocations: 17.17 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.005422, allocations: 3.984 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.293e-05/0.005455, allocations: 127.2 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005455, allocations: 7.125 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000139/0.005594, allocations: 8 kB / 0.8164 GB, free: 12.66 MB / 0.7761 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 (intLesThr.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 7.458e-05/0.005668, allocations: 95.25 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.365e-05/0.005742, allocations: 31.66 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.005743, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.005769, allocations: 23.62 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001747/0.005943, allocations: 8.484 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.006175, allocations: 127.6 kB / 0.8167 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.277e-05/0.006208, allocations: 55.34 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.006234, allocations: 5.75 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.006294, allocations: 80.64 kB / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.006294, allocations: 0 / 0.8169 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of Templates: time 0.002491/0.008785, allocations: 1.038 MB / 0.8179 GB, free: 11.16 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.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.061480257194489]