Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.0009373/0.0009373, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009051/0.0009051, allocations: 181 kB / 24.09 MB, free: 420 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.9966/0.9966, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.939/1.939, allocations: 377.9 MB / 0.624 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 177] 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.746e-06/2.746e-06, allocations: 0 / 0.8121 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.109e-05, allocations: 3.312 kB / 0.8121 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001641/0.001672, allocations: 0.8252 MB / 0.8129 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.002981, allocations: 0.9225 MB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.003089, allocations: 7.938 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.003225, allocations: 11.81 kB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.724e-05/0.003262, allocations: 13.09 kB / 0.8138 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.003457, allocations: 35.83 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.913e-05/0.003556, allocations: 80.45 kB / 0.8139 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.003666, allocations: 16.91 kB / 0.8139 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.003815, allocations: 51.81 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.239e-05/0.003877, allocations: 20.64 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.003895, allocations: 4 kB / 0.814 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.497e-05/0.00394, allocations: 9.281 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.003956, allocations: 15.91 kB / 0.814 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.003981, allocations: 19.94 kB / 0.8141 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.004104, allocations: 55.69 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.004106, allocations: 0.875 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004108, allocations: 0 / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004112, allocations: 1.062 kB / 0.8141 GB, free: 15.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003887/0.0045, allocations: 412.3 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.004541, allocations: 9.625 kB / 0.8145 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.004661, allocations: 16.89 kB / 0.8145 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.004809, allocations: 146 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.004818, allocations: 4.375 kB / 0.8147 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.004827, allocations: 4.375 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.004922, allocations: 70.81 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.004928, allocations: 1.938 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.004935, allocations: 384 / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.004941, allocations: 8.297 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.004966, allocations: 11.94 kB / 0.8148 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.005243, allocations: 285.4 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.408e-05/0.005317, allocations: 39.05 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.005332, allocations: 12.94 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.005347, allocations: 0 / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.005367, allocations: 37.33 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.005368, allocations: 0.75 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001212/0.005489, allocations: 57.77 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.005517, allocations: 51.91 kB / 0.8152 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.006006, allocations: 198.2 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.006025, allocations: 25.7 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.006083, allocations: 146.8 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.006098, allocations: 7.938 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.00613, allocations: 27.36 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.006247, allocations: 0.4923 MB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.00626, allocations: 4.531 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-06/0.00627, allocations: 0.7188 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/0.006302, allocations: 19.62 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.006304, allocations: 0.5 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.529e-05/0.006369, allocations: 53.86 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.006383, allocations: 9.531 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.006389, allocations: 0 / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.006401, allocations: 4.031 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.691e-05/0.006448, allocations: 3.984 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.00645, allocations: 4.625 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.006473, allocations: 4.969 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.006479, allocations: 0 / 0.8162 GB, free: 12.93 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 7.544e-05/0.006554, allocations: 157.3 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.006572, allocations: 11.89 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.0066, allocations: 16.88 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006602, allocations: 1.344 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.006604, allocations: 0 / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006606, allocations: 0 / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.006707, allocations: 113.2 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006709, allocations: 0.8125 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.006728, allocations: 11.92 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.006731, allocations: 4.938 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.006735, allocations: 0 / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.006738, allocations: 3.938 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006738, allocations: 1.25 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.006844, allocations: 191.9 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.006852, allocations: 4 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.006866, allocations: 0.9688 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.006905, allocations: 11.92 kB / 0.8167 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.006941, allocations: 14.3 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.006944, allocations: 3.938 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.828e-05/0.006992, allocations: 140.6 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.006992, allocations: 0 / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001406/0.007133, allocations: 19.88 kB / 0.8169 GB, free: 12.19 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001037/0.007237, allocations: 105.5 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.756e-05/0.007304, allocations: 23.67 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007305, allocations: 0 / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.007326, allocations: 15.69 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.007514, allocations: 8 kB / 0.817 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.007918, allocations: 178.8 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.4e-05/0.007952, allocations: 55.36 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.007985, allocations: 9.047 kB / 0.8173 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.008052, allocations: 78.75 kB / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of SimCode: time 9.22e-07/0.008053, allocations: 0 / 0.8173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of Templates: time 0.002526/0.01058, allocations: 0.9904 MB / 0.8183 GB, free: 10.71 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_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: 4.969700904563069]