Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 193.1 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 73.27 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3957, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002532/0.3982, allocations: 0.9267 MB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3995, allocations: 0.8819 MB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.3997, allocations: 7.938 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.3998, allocations: 7.922 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.557e-05/0.3999, allocations: 11.86 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.4001, allocations: 39.97 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.4003, allocations: 91.72 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4004, allocations: 51.94 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.4006, allocations: 35.86 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.4007, allocations: 31.84 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.4007, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/0.4007, allocations: 4 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.4008, allocations: 15.92 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.4008, allocations: 43.72 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.401, allocations: 83.72 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.401, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.936e-06/0.401, allocations: 7.938 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.401, allocations: 7.875 kB / 1.07 GB, free: 8.629 MB / 0.8262 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.0006884/0.4017, allocations: 415.4 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.954e-05/0.4018, allocations: 8.031 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.4018, allocations: 12.84 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.4021, allocations: 197.8 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.4021, allocations: 8.375 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.4021, allocations: 8.375 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.4024, allocations: 90.2 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4024, allocations: 192 / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4024, allocations: 3.938 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4024, allocations: 0 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.4027, allocations: 75.88 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.4034, allocations: 352.5 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.4036, allocations: 70.53 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.4038, allocations: 32.94 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4038, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4039, allocations: 34.55 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.4039, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004791/0.4043, allocations: 125.5 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.4044, allocations: 51.41 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4045, allocations: 141.7 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.4046, allocations: 29.69 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.4047, allocations: 100 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.4047, allocations: 15.83 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.4047, allocations: 17.72 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4049, allocations: 322.8 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.405, allocations: 31.97 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.4051, allocations: 23.98 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.4053, allocations: 60.8 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4053, allocations: 0 / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002698/0.4056, allocations: 101.7 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.4057, allocations: 13.08 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4057, allocations: 0 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4057, allocations: 192 / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4058, allocations: 19.97 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4058, allocations: 3.938 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.4059, allocations: 15.92 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.4059, allocations: 8 kB / 1.072 GB, free: 6.062 MB / 0.8262 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.0001059/0.4061, allocations: 113.8 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.4061, allocations: 11.89 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.4061, allocations: 8.25 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4061, allocations: 0 / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4062, allocations: 7.875 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4062, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.4064, allocations: 193.6 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4064, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.4065, allocations: 19.92 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4065, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4065, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4065, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4065, allocations: 3.938 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.4068, allocations: 191.4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.4069, allocations: 85.02 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.4069, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.4071, allocations: 11.98 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.4071, allocations: 19.91 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.4071, allocations: 4 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.4072, allocations: 97.14 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4072, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002288/0.4075, allocations: 19.94 kB / 1.073 GB, free: 5.191 MB / 0.8262 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.000158/0.4076, allocations: 105.3 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.4079, allocations: 67.94 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4079, allocations: 0 / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.408, allocations: 35.97 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4084, allocations: 11.98 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.4089, allocations: 208.6 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.4093, allocations: 0.6965 MB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.4093, allocations: 7.984 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.4094, allocations: 7.438 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4094, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of Templates: time 0.004249/0.4136, allocations: 0.8616 MB / 1.075 GB, free: 3.148 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1)