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.001016/0.001016, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001105/0.001105, allocations: 169 kB / 24.28 MB, free: 276 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.9985/0.9985, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.897/1.897, allocations: 377.8 MB / 0.6239 GB, free: 8.535 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.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 1.933e-06/1.933e-06, allocations: 0 / 0.8116 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.901e-05/4.095e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001684/0.001725, allocations: 0.8335 MB / 0.8124 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.002763, allocations: 0.9307 MB / 0.8133 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.002867, allocations: 7.938 kB / 0.8133 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.003006, allocations: 11.88 kB / 0.8133 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.003041, allocations: 9.219 kB / 0.8133 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.003253, allocations: 35.83 kB / 0.8134 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.003362, allocations: 75.72 kB / 0.8135 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.003483, allocations: 21.58 kB / 0.8135 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.003636, allocations: 47.89 kB / 0.8135 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.107e-05/0.003717, allocations: 23.98 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.003737, allocations: 4 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.003781, allocations: 8.531 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.003798, allocations: 20.56 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.003824, allocations: 15.92 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.003962, allocations: 64.22 kB / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.003965, allocations: 0 / 0.8136 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003966, allocations: 1.5 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.003972, allocations: 0 / 0.8137 GB, free: 15.88 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.0004232/0.004395, allocations: 400.3 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.00444, allocations: 12.56 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.004588, allocations: 18.23 kB / 0.8141 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.004775, allocations: 148.4 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.004787, allocations: 5.531 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.004799, allocations: 4.375 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.004924, allocations: 74.81 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.004931, allocations: 1.562 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.004942, allocations: 384 / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.004952, allocations: 384 / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.004994, allocations: 19.92 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.005392, allocations: 301 kB / 0.8146 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/0.005486, allocations: 39.05 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.005514, allocations: 20.19 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.005529, allocations: 1.406 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.005553, allocations: 37.47 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.005554, allocations: 0 / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001672/0.005721, allocations: 58.8 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.005752, allocations: 51.41 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.005852, allocations: 189.8 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.005869, allocations: 27.64 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.00593, allocations: 146.8 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.005948, allocations: 15.89 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.005979, allocations: 19.38 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.006097, allocations: 0.4884 MB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.067e-05/0.006117, allocations: 4 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.006133, allocations: 10.41 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.002e-05/0.006173, allocations: 23.61 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.006175, allocations: 0 / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.771e-05/0.006253, allocations: 53.86 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.006268, allocations: 9.562 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006272, allocations: 48 / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.006287, allocations: 4.516 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.508e-05/0.006352, allocations: 5.938 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.006358, allocations: 0 / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.006387, allocations: 7.984 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.006392, allocations: 0 / 0.8158 GB, free: 13.52 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 0.0001647/0.006557, allocations: 162.6 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.006577, allocations: 11.89 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.006603, allocations: 8.344 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.006605, allocations: 0 / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.006609, allocations: 3.938 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.006615, allocations: 7.984 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.00673, allocations: 125.2 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.006732, allocations: 4.906 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.006758, allocations: 7.984 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.006761, allocations: 3.938 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.00677, allocations: 0.7812 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.006771, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.006773, allocations: 5.156 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.006904, allocations: 191.9 kB / 0.8163 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.006918, allocations: 7.938 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.006943, allocations: 0.8438 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.341e-05/0.006987, allocations: 7.984 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.007042, allocations: 15.2 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.007046, allocations: 0 / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.398e-05/0.00711, allocations: 149.3 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.00711, allocations: 0 / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001644/0.007275, allocations: 19.83 kB / 0.8165 GB, free: 12.75 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.0001335/0.007408, allocations: 99.25 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.00752, allocations: 23.67 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007522, allocations: 2.406 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.564e-05/0.007548, allocations: 11.69 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.007788, allocations: 9.891 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.008511, allocations: 190.8 kB / 0.8168 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.008558, allocations: 59.34 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.00859, allocations: 1.125 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.864e-05/0.008629, allocations: 13.53 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of SimCode: time 1.042e-06/0.00863, allocations: 0 / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of Templates: time 0.002954/0.01158, allocations: 0.9256 MB / 0.8178 GB, free: 11.39 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.199529203120619]