Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.267/2.267, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001463/0.001462, allocations: 169.6 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.385/2.385, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.000868/0.0008677, allocations: 103.5 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005224, allocations: 12.75 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001788/0.2221, allocations: 1.182 MB / 0.9007 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004972/0.2227, allocations: 181.5 kB / 0.9008 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.2227, allocations: 0 / 0.9008 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.2228, allocations: 3.938 kB / 0.9008 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.733e-05/0.2229, allocations: 7.938 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.2231, allocations: 27.95 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.2232, allocations: 79.67 kB / 0.901 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.2234, allocations: 31.92 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.2235, allocations: 31.89 kB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.355e-05/0.2236, allocations: 35.84 kB / 0.901 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.2236, allocations: 4 kB / 0.9011 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.2236, allocations: 4 kB / 0.9011 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.2237, allocations: 15.91 kB / 0.9011 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.817e-05/0.2237, allocations: 33.7 kB / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.798e-05/0.2238, allocations: 55.86 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2238, allocations: 4 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2238, allocations: 3.938 kB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2239, allocations: 0 / 0.9012 GB, free: 63.79 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007361/0.2246, allocations: 391.5 kB / 0.9015 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.2247, allocations: 16.03 kB / 0.9016 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.2247, allocations: 8.844 kB / 0.9016 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2249, allocations: 176.2 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.2249, allocations: 4.375 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.2249, allocations: 4.375 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004622/0.2254, allocations: 118.1 kB / 0.9019 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2254, allocations: 4.188 kB / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2255, allocations: 3.938 kB / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2255, allocations: 0 / 0.9019 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.2261, allocations: 131.8 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.2269, allocations: 336.6 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.2279, allocations: 138.5 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.2283, allocations: 68.81 kB / 0.9025 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.2284, allocations: 3.984 kB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.2284, allocations: 30.56 kB / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 4.719e-06/0.2284, allocations: 0 / 0.9025 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001139/0.2295, allocations: 217.4 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.2296, allocations: 59.33 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2297, allocations: 117.8 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2297, allocations: 25.7 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.2298, allocations: 100 kB / 0.903 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.2298, allocations: 15.75 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.2299, allocations: 4 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.2299, allocations: 322.8 kB / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.2303, allocations: 59.95 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.2306, allocations: 55.95 kB / 0.9035 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.2309, allocations: 51.97 kB / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.231, allocations: 3.984 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007759/0.2318, allocations: 161.5 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.2318, allocations: 8 kB / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2318, allocations: 0 / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2318, allocations: 0 / 0.9037 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.2322, allocations: 31.91 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2322, allocations: 0 / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.2324, allocations: 23.97 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.2324, allocations: 4.547 kB / 0.9037 GB, free: 60.93 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.2325, allocations: 117.8 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.2326, allocations: 3.906 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007877/0.2334, allocations: 177.9 kB / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2334, allocations: 0 / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2334, allocations: 0 / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.2335, allocations: 84.95 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.2335, allocations: 11.98 kB / 0.9041 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.2338, allocations: 19.92 kB / 0.9041 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.2339, allocations: 19.97 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009199/0.2348, allocations: 264.8 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007963/0.2356, allocations: 334.6 kB / 0.9047 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003623/0.236, allocations: 75.81 kB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.2361, allocations: 91.27 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of Backend: time 7.11e-07/0.2361, allocations: 4 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007472/0.2368, allocations: 143.7 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005759/0.2374, allocations: 0.619 MB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.005013/0.2425, allocations: 1.447 MB / 0.907 GB, free: 57.44 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)