Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.605/1.605, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 182.3 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 93.94 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004402, allocations: 14.22 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2445, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001902/0.2465, allocations: 1.153 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003657/0.2469, allocations: 108.5 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.84e-05/0.247, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.277e-05/0.247, allocations: 3.984 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.2472, allocations: 11.94 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.907e-05/0.2472, allocations: 11.98 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.486e-05/0.2473, allocations: 39.86 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2475, allocations: 4 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.2476, allocations: 19.92 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.2476, allocations: 19.91 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2477, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.2477, allocations: 8 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.2477, allocations: 7.922 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.2478, allocations: 11.94 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.026e-05/0.2478, allocations: 36.14 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.2478, allocations: 4 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2478, allocations: 0 / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2479, allocations: 0 / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005391/0.2484, allocations: 368.1 kB / 0.8985 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.2485, allocations: 12.03 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.2485, allocations: 0.9375 kB / 0.8985 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.2486, allocations: 176.2 kB / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2487, allocations: 384 / 0.8987 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.2487, allocations: 8.375 kB / 0.8987 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002712/0.249, allocations: 78.16 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.249, allocations: 4.125 kB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.249, allocations: 7.938 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.249, allocations: 0 / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.2493, allocations: 83.92 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.2497, allocations: 273 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.2499, allocations: 74.41 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.25, allocations: 48.92 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.2501, allocations: 0 / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2501, allocations: 30.56 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2501, allocations: 0 / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005136/0.2506, allocations: 169.7 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2507, allocations: 51.41 kB / 0.8995 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.2507, allocations: 117.7 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2508, allocations: 25.7 kB / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2508, allocations: 88.14 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.2508, allocations: 19.81 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.2509, allocations: 9.719 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/0.2509, allocations: 318.8 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2511, allocations: 43.95 kB / 0.9001 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.2512, allocations: 43.95 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.2515, allocations: 88.78 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2515, allocations: 3.938 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002881/0.2518, allocations: 113.6 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2518, allocations: 8 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2518, allocations: 0 / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2518, allocations: 0 / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.252, allocations: 23.92 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.252, allocations: 0 / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.2521, allocations: 27.88 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2521, allocations: 0 / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (less1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.752e-05/0.2522, allocations: 121.8 kB / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.2522, allocations: 0 / 0.9005 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.2522, allocations: 7.906 kB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2523, allocations: 4 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2523, allocations: 0 / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2523, allocations: 0 / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.2524, allocations: 181.5 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2524, allocations: 0 / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.2525, allocations: 19.98 kB / 0.9007 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2526, allocations: 4 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2526, allocations: 0 / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2526, allocations: 0 / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2526, allocations: 0 / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.2529, allocations: 223.2 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.253, allocations: 77.11 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.253, allocations: 0 / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2531, allocations: 27.98 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.2532, allocations: 3.984 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2532, allocations: 4 kB / 0.901 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.2532, allocations: 91.27 kB / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2533, allocations: 0 / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002144/0.2535, allocations: 8 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (less1.y) * Number of discrete states: 0 () * 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.0001635/0.2536, allocations: 100.1 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.254, allocations: 91.92 kB / 0.9013 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.254, allocations: 3.938 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.2541, allocations: 47.91 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.2545, allocations: 15.92 kB / 0.9014 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.2549, allocations: 160.8 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.2551, allocations: 0.6809 MB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.2551, allocations: 7.438 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of SimCode: time 1.412e-06/0.2551, allocations: 0 / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.002102/0.2572, allocations: 0.7634 MB / 0.9029 GB, free: 61.43 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)