Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Integers.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0102/0.0102, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001851/0.001852, allocations: 191.2 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.485/1.485, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 71.89 kB / 0.7258 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9132/0.9149, allocations: 104.7 MB / 0.828 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003996/0.9189, allocations: 2.009 MB / 0.83 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.9209, allocations: 0.9792 MB / 0.831 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.9211, allocations: 3.938 kB / 0.831 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.9217, allocations: 155.5 kB / 0.8311 GB, free: 15.48 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000408/0.9222, allocations: 151.4 kB / 0.8313 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.9226, allocations: 175.1 kB / 0.8314 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.9231, allocations: 291.2 kB / 0.8317 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.9233, allocations: 48.38 kB / 0.8318 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.9235, allocations: 131.5 kB / 0.8319 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.9237, allocations: 143.4 kB / 0.832 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.9237, allocations: 15.94 kB / 0.832 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.9238, allocations: 43.97 kB / 0.8321 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.924, allocations: 79.75 kB / 0.8321 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.9241, allocations: 123.1 kB / 0.8323 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.9246, allocations: 336.7 kB / 0.8326 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9246, allocations: 3.938 kB / 0.8326 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9246, allocations: 0 / 0.8326 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.9246, allocations: 0 / 0.8326 GB, free: 13.97 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001035/0.9257, allocations: 0.6069 MB / 0.8332 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.9257, allocations: 16.03 kB / 0.8332 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.9258, allocations: 28.56 kB / 0.8332 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006427/0.9265, allocations: 362.2 kB / 0.8336 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.9265, allocations: 4.375 kB / 0.8336 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.9265, allocations: 16.11 kB / 0.8336 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.9268, allocations: 105.6 kB / 0.8337 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.9268, allocations: 0 / 0.8337 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.9269, allocations: 7.938 kB / 0.8337 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.9269, allocations: 4 kB / 0.8337 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.9271, allocations: 63.95 kB / 0.8338 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/0.9279, allocations: 480.5 kB / 0.8342 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.9282, allocations: 134.7 kB / 0.8344 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.9283, allocations: 52.83 kB / 0.8344 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.9284, allocations: 0 / 0.8344 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.9287, allocations: 123.3 kB / 0.8345 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.9287, allocations: 0 / 0.8345 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005439/0.9292, allocations: 213.2 kB / 0.8347 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.9293, allocations: 63.34 kB / 0.8348 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.9299, allocations: 0.4898 MB / 0.8353 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.9299, allocations: 25.7 kB / 0.8353 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.9301, allocations: 168.4 kB / 0.8354 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.9302, allocations: 35.55 kB / 0.8355 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.9303, allocations: 65.97 kB / 0.8355 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.9304, allocations: 346.8 kB / 0.8359 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.9306, allocations: 96.52 kB / 0.836 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.9309, allocations: 140.7 kB / 0.8361 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.9313, allocations: 181 kB / 0.8363 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9313, allocations: 0 / 0.8363 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005495/0.9318, allocations: 326.1 kB / 0.8366 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.9319, allocations: 4 kB / 0.8366 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9319, allocations: 8 kB / 0.8366 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.9319, allocations: 0 / 0.8366 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.9321, allocations: 55.91 kB / 0.8366 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.9321, allocations: 3.938 kB / 0.8367 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.9323, allocations: 19.89 kB / 0.8367 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.9323, allocations: 8 kB / 0.8367 GB, free: 9.551 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001887/0.9325, allocations: 181.7 kB / 0.8369 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.9326, allocations: 39.61 kB / 0.8369 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.823e-05/0.9327, allocations: 35.02 kB / 0.8369 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9327, allocations: 0 / 0.8369 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.9327, allocations: 3.938 kB / 0.8369 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.9327, allocations: 7.984 kB / 0.8369 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.933, allocations: 289.5 kB / 0.8372 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.933, allocations: 0 / 0.8372 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.9331, allocations: 15.92 kB / 0.8372 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9331, allocations: 4 kB / 0.8372 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.9331, allocations: 3.938 kB / 0.8372 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9331, allocations: 4 kB / 0.8372 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9331, allocations: 3.938 kB / 0.8372 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.9335, allocations: 207.6 kB / 0.8374 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.9336, allocations: 108.7 kB / 0.8375 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.9337, allocations: 7.984 kB / 0.8375 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.9338, allocations: 4 kB / 0.8376 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.9339, allocations: 27.91 kB / 0.8376 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.9339, allocations: 8 kB / 0.8376 GB, free: 8.523 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003305/0.9342, allocations: 303.1 kB / 0.8379 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9342, allocations: 0 / 0.8379 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002938/0.9345, allocations: 59.83 kB / 0.8379 GB, free: 8.172 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001059/0.9356, allocations: 422.3 kB / 0.8383 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.936, allocations: 187.9 kB / 0.8385 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9361, allocations: 4.062 kB / 0.8385 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.9362, allocations: 67.27 kB / 0.8386 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.9367, allocations: 87 kB / 0.8387 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008939/0.9376, allocations: 0.5044 MB / 0.8392 GB, free: 7.043 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.938, allocations: 0.7829 MB / 0.8399 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.9382, allocations: 62.92 kB / 0.84 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.9383, allocations: 35.42 kB / 0.84 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of SimCode: time 2.5e-07/0.9383, allocations: 0 / 0.84 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of Templates: time 0.008564/0.9469, allocations: 3.878 MB / 0.8438 GB, free: 2.305 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)