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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 108.7 kB / 18.94 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 192.5 kB / 22.23 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.448/3.448, allocations: 496 MB / 0.7835 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002325/0.002325, allocations: 67.8 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4685/0.4708, allocations: 173.6 MB / 1.307 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002598/0.4734, allocations: 0.8911 MB / 1.308 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.4747, allocations: 0.8974 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.4748, allocations: 7.938 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.4749, allocations: 19.8 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.62e-05/0.475, allocations: 7.875 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.4752, allocations: 35.94 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.4754, allocations: 103.7 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4756, allocations: 31.92 kB / 1.309 GB, free: 15.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.4757, allocations: 51.83 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.4758, allocations: 39.78 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.4758, allocations: 8 kB / 1.309 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.931e-05/0.4758, allocations: 8 kB / 1.309 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.999e-05/0.4759, allocations: 15.94 kB / 1.309 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.4759, allocations: 43.73 kB / 1.309 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.4761, allocations: 99.52 kB / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4761, allocations: 0 / 1.31 GB, free: 15.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4761, allocations: 4 kB / 1.31 GB, free: 15.51 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.4761, allocations: 0 / 1.31 GB, free: 15.51 MB / 1.014 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.0007004/0.4768, allocations: 341.9 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4769, allocations: 8.922 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.4769, allocations: 8.891 kB / 1.31 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.4772, allocations: 154.3 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4772, allocations: 384 / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.4772, allocations: 8.375 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.4775, allocations: 94.2 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4775, allocations: 192 / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.4775, allocations: 3.938 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.4775, allocations: 0 / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.4778, allocations: 75.86 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.4783, allocations: 319.7 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.4786, allocations: 66.47 kB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4787, allocations: 32.92 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.4787, allocations: 4 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.4788, allocations: 38.56 kB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4788, allocations: 0 / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004514/0.4792, allocations: 117.5 kB / 1.311 GB, free: 14.13 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.4793, allocations: 55.41 kB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.4794, allocations: 139.3 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.4794, allocations: 25.7 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.4795, allocations: 104.1 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.4795, allocations: 19.84 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.4796, allocations: 17.72 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4797, allocations: 314.8 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.4798, allocations: 31.97 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4799, allocations: 39.97 kB / 1.311 GB, free: 13.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.4801, allocations: 56.94 kB / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4801, allocations: 0 / 1.312 GB, free: 13.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002518/0.4804, allocations: 97.58 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4804, allocations: 6.031 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4804, allocations: 7.938 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4804, allocations: 3.938 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4805, allocations: 11.98 kB / 1.312 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.4805, allocations: 3.938 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.4806, allocations: 23.92 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4807, allocations: 0 / 1.312 GB, free: 13.14 MB / 1.014 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.0001148/0.4808, allocations: 118.6 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.4808, allocations: 11.95 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.4808, allocations: 8.344 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4808, allocations: 4 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.4809, allocations: 3.938 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4809, allocations: 0 / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.4811, allocations: 160.7 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4811, allocations: 0 / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.4811, allocations: 11.98 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4811, allocations: 0 / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.4812, allocations: 0 / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4812, allocations: 7.984 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4812, allocations: 7.875 kB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.4815, allocations: 191.5 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.302e-05/0.4815, allocations: 3.953 kB / 1.312 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.4815, allocations: 4 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4816, allocations: 23.97 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.4817, allocations: 11.92 kB / 1.312 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.4817, allocations: 4.062 kB / 1.312 GB, free: 12.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.126e-05/0.4818, allocations: 103.2 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4818, allocations: 4 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002164/0.482, allocations: 8 kB / 1.312 GB, free: 12.39 MB / 1.014 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.0001399/0.4821, allocations: 99.48 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.4824, allocations: 67.88 kB / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.4824, allocations: 0 / 1.312 GB, free: 12.22 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.4825, allocations: 39.95 kB / 1.313 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.4828, allocations: 13.81 kB / 1.313 GB, free: 12.17 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.4833, allocations: 195.1 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.4836, allocations: 0.7001 MB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.487e-05/0.4837, allocations: 7.75 kB / 1.313 GB, free: 11.22 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.4837, allocations: 7.438 kB / 1.313 GB, free: 11.21 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.4837, allocations: 7.938 kB / 1.313 GB, free: 11.2 MB / 1.014 GB Notification: Performance of Templates: time 0.004178/0.4879, allocations: 1.042 MB / 1.314 GB, free: 10.17 MB / 1.014 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: 9.824321247637272]