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.001296/0.001296, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001721/0.001721, allocations: 161 kB / 23.82 MB, free: 0.7461 MB / 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 1.046/1.046, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.992/1.992, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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 3.737e-06/3.737e-06, allocations: 0 / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.165e-05, allocations: 3.984 kB / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002409/0.002441, allocations: 0.8267 MB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.003794, allocations: 0.9338 MB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.0039, allocations: 3.938 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.004053, allocations: 19.86 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.835e-05/0.004102, allocations: 8.781 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.00436, allocations: 27.91 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.0045, allocations: 80.36 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.004646, allocations: 25.23 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.004836, allocations: 47.83 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.00492, allocations: 19.92 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.004944, allocations: 5.688 kB / 0.8136 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.005004, allocations: 11.98 kB / 0.8136 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.005025, allocations: 15.98 kB / 0.8136 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.005057, allocations: 15.92 kB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.005233, allocations: 51.77 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.005238, allocations: 4.906 kB / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.914e-06/0.005239, allocations: 0 / 0.8136 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.005247, allocations: 0.6875 kB / 0.8136 GB, free: 15.58 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.0005461/0.005793, allocations: 401.3 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.005841, allocations: 11.97 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.006031, allocations: 29.56 kB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.006275, allocations: 155.8 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.00629, allocations: 4.375 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.006306, allocations: 5.625 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.006465, allocations: 66.88 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.006477, allocations: 192 / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.006492, allocations: 6.438 kB / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.006502, allocations: 384 / 0.8143 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.29e-05/0.006565, allocations: 23.86 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.007028, allocations: 295.7 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.007164, allocations: 43.98 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.007199, allocations: 19.69 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.007218, allocations: 1.594 kB / 0.8147 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.007247, allocations: 33.39 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.592e-06/0.007248, allocations: 0 / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002189/0.007467, allocations: 57.67 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.007505, allocations: 52.94 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.007641, allocations: 193.8 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.007661, allocations: 25.7 kB / 0.815 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.007742, allocations: 142.8 kB / 0.8151 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.007766, allocations: 17.62 kB / 0.8152 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.007807, allocations: 19.38 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.007974, allocations: 0.4884 MB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.008005, allocations: 4 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.008028, allocations: 8 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.008075, allocations: 12.69 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.008078, allocations: 4 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001068/0.008184, allocations: 59.11 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.008203, allocations: 8 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.008208, allocations: 0 / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.008227, allocations: 3.984 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.008296, allocations: 0.5312 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008301, allocations: 4 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.008342, allocations: 4.688 kB / 0.8158 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.00835, allocations: 0.5312 kB / 0.8158 GB, free: 13.22 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 9.623e-05/0.008446, allocations: 169.2 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.008476, allocations: 7.891 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.008511, allocations: 13.31 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008514, allocations: 336 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.008518, allocations: 0.5312 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00852, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.008685, allocations: 134 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.008692, allocations: 7.984 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.008727, allocations: 4 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.008731, allocations: 5.188 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.008739, allocations: 3.938 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.008742, allocations: 3.984 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.008744, allocations: 0 / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.008905, allocations: 196.5 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.548e-05/0.008921, allocations: 8.719 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.008943, allocations: 0 / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.557e-05/0.009019, allocations: 12.83 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.009075, allocations: 3.984 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.009079, allocations: 4.906 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.422e-05/0.009154, allocations: 141.4 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.009154, allocations: 0 / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002857/0.009439, allocations: 21.23 kB / 0.8165 GB, free: 12.44 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.0001269/0.009566, allocations: 99.23 kB / 0.8166 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.009675, allocations: 20.28 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.009676, allocations: 4.531 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.009712, allocations: 19.67 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.01003, allocations: 8.484 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006624/0.01069, allocations: 178.8 kB / 0.8168 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.025e-05/0.01074, allocations: 63.34 kB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.01078, allocations: 7.422 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.01083, allocations: 12.5 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of SimCode: time 1.242e-06/0.01083, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.003551/0.01438, allocations: 0.921 MB / 0.8178 GB, free: 11.09 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: 5.467084901873022]