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.Change.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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 252 MB / 267.6 MB, free: 10.99 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.0009805/0.0009807, allocations: 187.9 kB / 327.3 MB, free: 2.238 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.648/1.648, allocations: 205.4 MB / 0.5783 GB, free: 20.27 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.0008939/0.0008941, allocations: 91.52 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003276, allocations: 11.98 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2073, allocations: 106.3 MB / 0.9008 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002196/0.2096, allocations: 1.622 MB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2109, allocations: 0.8665 MB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.211, allocations: 4 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.2113, allocations: 75.77 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.2116, allocations: 83.64 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.2118, allocations: 98.14 kB / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.212, allocations: 179.5 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.2122, allocations: 37.83 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.2123, allocations: 75.64 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.602e-05/0.2124, allocations: 83.59 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.2124, allocations: 4 kB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.2125, allocations: 27.98 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.2126, allocations: 47.83 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.2126, allocations: 57.58 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.2128, allocations: 199.8 kB / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2128, allocations: 0 / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.915e-06/0.2129, allocations: 0 / 0.9042 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.2129, allocations: 7.938 kB / 0.9042 GB, free: 60.46 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007242/0.2136, allocations: 0.4946 MB / 0.9047 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2136, allocations: 8.031 kB / 0.9047 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.342e-05/0.2137, allocations: 23.72 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.214, allocations: 269.9 kB / 0.905 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.2141, allocations: 8.188 kB / 0.905 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.2141, allocations: 15.98 kB / 0.905 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.2144, allocations: 137 kB / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2145, allocations: 0 / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.2145, allocations: 8 kB / 0.9051 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2145, allocations: 7.953 kB / 0.9051 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.2148, allocations: 104.4 kB / 0.9052 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.2155, allocations: 0.5395 MB / 0.9058 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.2158, allocations: 134.6 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.216, allocations: 60.81 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.216, allocations: 4 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.2163, allocations: 136.5 kB / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.2163, allocations: 0 / 0.9061 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.000635/0.217, allocations: 259 kB / 0.9063 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.217, allocations: 51.41 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.2173, allocations: 330.4 kB / 0.9067 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2174, allocations: 33.7 kB / 0.9067 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.323e-05/0.2175, allocations: 136.5 kB / 0.9069 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.2175, allocations: 39.53 kB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.2175, allocations: 8 kB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.2176, allocations: 342.8 kB / 0.9072 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.2178, allocations: 87.95 kB / 0.9073 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.218, allocations: 145.9 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.2182, allocations: 92.53 kB / 0.9075 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2182, allocations: 7.984 kB / 0.9076 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004954/0.2187, allocations: 292.7 kB / 0.9078 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2188, allocations: 8.188 kB / 0.9078 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2188, allocations: 4 kB / 0.9078 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2188, allocations: 4 kB / 0.9078 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.219, allocations: 47.91 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.219, allocations: 3.938 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.2192, allocations: 31.83 kB / 0.9079 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.2192, allocations: 12 kB / 0.9079 GB, free: 56.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($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,cha.u_start) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001291/0.2193, allocations: 167.5 kB / 0.9081 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.2194, allocations: 23.72 kB / 0.9081 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.2194, allocations: 26.19 kB / 0.9081 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2194, allocations: 0 / 0.9081 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.2195, allocations: 3.938 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2195, allocations: 3.984 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.2201, allocations: 0.5606 MB / 0.9087 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2201, allocations: 0 / 0.9087 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.2202, allocations: 19.98 kB / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2202, allocations: 0 / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2203, allocations: 0 / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2203, allocations: 8 kB / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2203, allocations: 0 / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.2207, allocations: 301 kB / 0.909 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.2207, allocations: 108.8 kB / 0.9091 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.2208, allocations: 4 kB / 0.9091 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.2209, allocations: 15.98 kB / 0.9091 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.221, allocations: 23.91 kB / 0.9092 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.221, allocations: 8 kB / 0.9092 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001499/0.2212, allocations: 200.4 kB / 0.9094 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2212, allocations: 0 / 0.9094 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002732/0.2214, allocations: 48 kB / 0.9094 GB, free: 54.79 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: 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.0008912/0.2223, allocations: 416.2 kB / 0.9098 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.2228, allocations: 199.7 kB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2228, allocations: 0 / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.223, allocations: 79.89 kB / 0.9101 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.2234, allocations: 51.16 kB / 0.9101 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006329/0.2241, allocations: 461 kB / 0.9106 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.2243, allocations: 0.7521 MB / 0.9113 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.2244, allocations: 27.44 kB / 0.9113 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2244, allocations: 4 kB / 0.9113 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.004388/0.2288, allocations: 3.135 MB / 0.9144 GB, free: 49.8 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)