Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001487/0.001487, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001653/0.001653, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.601/1.601, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.937/2.937, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.8109 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.962e-05/4.224e-05, allocations: 7.562 kB / 0.8109 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002141/0.002183, allocations: 0.8265 MB / 0.8117 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.003649, allocations: 0.9268 MB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.003752, allocations: 8.656 kB / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.00392, allocations: 15.86 kB / 0.8126 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.003994, allocations: 12.91 kB / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.004276, allocations: 42.06 kB / 0.8127 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000173/0.004449, allocations: 107.6 kB / 0.8128 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.004587, allocations: 31.95 kB / 0.8128 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.004804, allocations: 67.7 kB / 0.8129 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.004881, allocations: 31.95 kB / 0.8129 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.004906, allocations: 13.28 kB / 0.8129 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.004953, allocations: 8 kB / 0.8129 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.004983, allocations: 15.98 kB / 0.8129 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.005034, allocations: 27.91 kB / 0.813 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.005232, allocations: 109.2 kB / 0.8131 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.005236, allocations: 0 / 0.8131 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005238, allocations: 0 / 0.8131 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005242, allocations: 0 / 0.8131 GB, free: 14.68 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007188/0.005961, allocations: 339.7 kB / 0.8134 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.006003, allocations: 12.03 kB / 0.8134 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.006192, allocations: 21.59 kB / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.006496, allocations: 159.6 kB / 0.8136 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.006512, allocations: 9.094 kB / 0.8136 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.006529, allocations: 4.375 kB / 0.8136 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.006804, allocations: 92.08 kB / 0.8137 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.006813, allocations: 192 / 0.8137 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.006829, allocations: 8.375 kB / 0.8137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.006833, allocations: 384 / 0.8137 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002631/0.007096, allocations: 69.78 kB / 0.8137 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.007634, allocations: 281.5 kB / 0.814 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.007887, allocations: 67.78 kB / 0.8141 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.008007, allocations: 28.92 kB / 0.8141 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.008026, allocations: 5.281 kB / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.00806, allocations: 30.56 kB / 0.8141 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.008061, allocations: 0 / 0.8141 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0005079/0.008569, allocations: 119.5 kB / 0.8143 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.008617, allocations: 55.34 kB / 0.8143 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.008755, allocations: 140.7 kB / 0.8144 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.00878, allocations: 25.7 kB / 0.8145 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.008864, allocations: 105.3 kB / 0.8146 GB, free: 13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.008891, allocations: 11.95 kB / 0.8146 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.008939, allocations: 21.7 kB / 0.8146 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.009121, allocations: 316.1 kB / 0.8149 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.009255, allocations: 35.91 kB / 0.8149 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.009379, allocations: 33.75 kB / 0.815 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.009616, allocations: 56.81 kB / 0.815 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.009617, allocations: 2.562 kB / 0.815 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003003/0.009918, allocations: 101.5 kB / 0.8151 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.009933, allocations: 4 kB / 0.8151 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.009939, allocations: 0 / 0.8151 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.00996, allocations: 0.5 kB / 0.8151 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01007, allocations: 12.7 kB / 0.8151 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.01008, allocations: 5.938 kB / 0.8151 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.0102, allocations: 23.92 kB / 0.8152 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.0102, allocations: 0 / 0.8152 GB, free: 12.38 MB / 0.7292 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 (5): * Single equations (assignments): 5 * 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.0001098/0.01031, allocations: 117.8 kB / 0.8153 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.01035, allocations: 12.86 kB / 0.8153 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.01039, allocations: 12.34 kB / 0.8153 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.0104, allocations: 0.7812 kB / 0.8153 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.0104, allocations: 0 / 0.8153 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01041, allocations: 4.641 kB / 0.8153 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01059, allocations: 137.2 kB / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01059, allocations: 0.6562 kB / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.01068, allocations: 15.08 kB / 0.8155 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01068, allocations: 0 / 0.8155 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01069, allocations: 0 / 0.8155 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.01069, allocations: 0 / 0.8155 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.0107, allocations: 3.938 kB / 0.8155 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.01105, allocations: 191.6 kB / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.01107, allocations: 14.42 kB / 0.8157 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.01109, allocations: 4 kB / 0.8157 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.01123, allocations: 15.97 kB / 0.8157 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.01129, allocations: 7.984 kB / 0.8157 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.0113, allocations: 3.984 kB / 0.8157 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.705e-05/0.01139, allocations: 105.5 kB / 0.8158 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01139, allocations: 0.9688 kB / 0.8158 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000247/0.01164, allocations: 8 kB / 0.8158 GB, free: 11.68 MB / 0.7292 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 (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 0.0001431/0.01178, allocations: 100.3 kB / 0.8159 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.01208, allocations: 69 kB / 0.816 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01209, allocations: 5.031 kB / 0.816 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.01221, allocations: 31.97 kB / 0.816 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.01252, allocations: 20.92 kB / 0.816 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.013, allocations: 190.2 kB / 0.8162 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.572e-05/0.0131, allocations: 83.7 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.78e-05/0.01315, allocations: 9.453 kB / 0.8163 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.0132, allocations: 13.22 kB / 0.8163 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of SimCode: time 1.091e-05/0.01321, allocations: 0 / 0.8163 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.00416/0.01737, allocations: 1.094 MB / 0.8174 GB, free: 10.07 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.910798822063953]