Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.711/1.711, allocations: 288.3 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001222, allocations: 183.4 kB / 371.9 MB, free: 10.29 MB / 298.7 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.4 MB / 0.6306 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008119/0.0008119, allocations: 103.2 kB / 0.7439 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 12.22 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002399/0.2109, allocations: 1.586 MB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.2125, allocations: 0.9532 MB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.2127, allocations: 3.938 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.2131, allocations: 87.73 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.2133, allocations: 79.77 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.2137, allocations: 105.2 kB / 0.9822 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.2139, allocations: 123.7 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.2141, allocations: 45.83 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.2143, allocations: 83.67 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.2144, allocations: 83.61 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.2144, allocations: 4 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.2146, allocations: 43.89 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.2146, allocations: 47.83 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.2147, allocations: 57.52 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.2149, allocations: 203.8 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2149, allocations: 0 / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.215, allocations: 4 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.215, allocations: 0 / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0009601/0.2159, allocations: 0.5155 MB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.216, allocations: 8.031 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.2161, allocations: 27.67 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2164, allocations: 274.7 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.2164, allocations: 16.19 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.2165, allocations: 8 kB / 0.9837 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.2167, allocations: 121.7 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2168, allocations: 0 / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2168, allocations: 4 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2168, allocations: 7.953 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.2171, allocations: 96.48 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.2177, allocations: 464.5 kB / 0.9843 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.218, allocations: 138.6 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.218, allocations: 4 kB / 0.9845 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.2183, allocations: 123.3 kB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.2183, allocations: 224 / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.000565/0.2189, allocations: 261.2 kB / 0.9848 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.2189, allocations: 67.27 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.2192, allocations: 326.5 kB / 0.9852 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2192, allocations: 29.7 kB / 0.9852 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.2193, allocations: 140.5 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.2193, allocations: 39.56 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/0.2193, allocations: 4 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.2194, allocations: 338.8 kB / 0.9857 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.2196, allocations: 91.94 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.2198, allocations: 138 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.22, allocations: 99.92 kB / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.22, allocations: 0 / 0.9861 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000483/0.2205, allocations: 304.3 kB / 0.9863 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2205, allocations: 8 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2206, allocations: 0 / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2206, allocations: 4 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.2208, allocations: 43.91 kB / 0.9864 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2208, allocations: 4 kB / 0.9864 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.221, allocations: 23.97 kB / 0.9864 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.221, allocations: 16.03 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001194/0.2211, allocations: 174.6 kB / 0.9866 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.2211, allocations: 23.72 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.2212, allocations: 26.17 kB / 0.9867 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2212, allocations: 4 kB / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2212, allocations: 4 kB / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2212, allocations: 0 / 0.9867 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.2219, allocations: 0.5578 MB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2219, allocations: 3.984 kB / 0.9872 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.222, allocations: 15.98 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.222, allocations: 8 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.222, allocations: 4 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.222, allocations: 0 / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.222, allocations: 0 / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.2224, allocations: 311.7 kB / 0.9875 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.2225, allocations: 104.8 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.2225, allocations: 7.938 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.2227, allocations: 15.98 kB / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.2227, allocations: 19.97 kB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2228, allocations: 4 kB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001477/0.2229, allocations: 213.9 kB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2229, allocations: 4 kB / 0.9879 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003355/0.2233, allocations: 47.91 kB / 0.9879 GB, free: 18.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008693/0.2241, allocations: 436.3 kB / 0.9883 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.2246, allocations: 191.8 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2246, allocations: 0 / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.2248, allocations: 75.89 kB / 0.9886 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.2251, allocations: 45.73 kB / 0.9886 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.2257, allocations: 448.7 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.2259, allocations: 0.756 MB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.226, allocations: 29.94 kB / 0.9898 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.2261, allocations: 27.42 kB / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2261, allocations: 0 / 0.9899 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.006099/0.2322, allocations: 2.749 MB / 0.9926 GB, free: 14 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)