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.438/1.438, allocations: 252 MB / 268 MB, free: 10.85 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.00107/0.00107, allocations: 182.7 kB / 327.6 MB, free: 2.098 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.359/2.359, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0008399/0.0008401, allocations: 97.48 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003267, allocations: 12.73 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.001972/0.2028, allocations: 1.652 MB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.2039, allocations: 0.8894 MB / 0.9039 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.204, allocations: 7.938 kB / 0.904 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.2044, allocations: 83.77 kB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.2046, allocations: 87.72 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.2048, allocations: 110.6 kB / 0.9042 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.205, allocations: 195.4 kB / 0.9044 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2052, allocations: 45.66 kB / 0.9045 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2053, allocations: 75.62 kB / 0.9045 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2054, allocations: 95.53 kB / 0.9046 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2054, allocations: 4 kB / 0.9046 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.992e-05/0.2055, allocations: 31.98 kB / 0.9047 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.2056, allocations: 47.83 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.2057, allocations: 105.1 kB / 0.9048 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.2059, allocations: 191.8 kB / 0.905 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2059, allocations: 0 / 0.905 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2059, allocations: 0 / 0.905 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.2059, allocations: 4 kB / 0.905 GB, free: 59.88 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.0006392/0.2065, allocations: 0.4948 MB / 0.9055 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2066, allocations: 11.97 kB / 0.9055 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.2066, allocations: 24.66 kB / 0.9055 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.2069, allocations: 279 kB / 0.9058 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.2069, allocations: 16.12 kB / 0.9058 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.2069, allocations: 15.94 kB / 0.9058 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2072, allocations: 144.9 kB / 0.9059 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2072, allocations: 0 / 0.9059 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2073, allocations: 8 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2073, allocations: 0 / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.2075, allocations: 103.9 kB / 0.906 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.2081, allocations: 0.5281 MB / 0.9066 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.2084, allocations: 134.6 kB / 0.9067 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2086, allocations: 60.83 kB / 0.9067 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.2086, allocations: 4 kB / 0.9068 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.2089, allocations: 136.5 kB / 0.9069 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.2089, allocations: 0 / 0.9069 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005593/0.2095, allocations: 271.1 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2095, allocations: 59.34 kB / 0.9072 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.2098, allocations: 318.5 kB / 0.9075 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2098, allocations: 37.69 kB / 0.9075 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.2099, allocations: 132.4 kB / 0.9077 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.2099, allocations: 43.53 kB / 0.9077 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.2099, allocations: 4 kB / 0.9077 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.21, allocations: 338.8 kB / 0.908 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.2102, allocations: 91.94 kB / 0.9081 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.2104, allocations: 146 kB / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.2107, allocations: 208.6 kB / 0.9085 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2107, allocations: 4 kB / 0.9085 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004605/0.2112, allocations: 293.2 kB / 0.9087 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2112, allocations: 11.94 kB / 0.9088 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2112, allocations: 4 kB / 0.9088 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2112, allocations: 4 kB / 0.9088 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.2114, allocations: 43.91 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2114, allocations: 7.984 kB / 0.9088 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.2116, allocations: 35.89 kB / 0.9088 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.2116, allocations: 12 kB / 0.9089 GB, free: 55.65 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.2117, allocations: 155.5 kB / 0.909 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2118, allocations: 23.66 kB / 0.909 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.2118, allocations: 26.17 kB / 0.909 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2118, allocations: 4 kB / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2118, allocations: 0 / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2118, allocations: 4 kB / 0.9091 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.2125, allocations: 0.5606 MB / 0.9096 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2125, allocations: 0 / 0.9096 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.2126, allocations: 23.92 kB / 0.9096 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2126, allocations: 3.938 kB / 0.9096 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.2126, allocations: 11.98 kB / 0.9096 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2126, allocations: 0 / 0.9096 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2126, allocations: 0 / 0.9096 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.213, allocations: 300.7 kB / 0.9099 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.2131, allocations: 112.7 kB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.2131, allocations: 8 kB / 0.91 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2132, allocations: 11.98 kB / 0.9101 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.2133, allocations: 19.97 kB / 0.9101 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2133, allocations: 8 kB / 0.9101 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001455/0.2135, allocations: 200.5 kB / 0.9103 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2135, allocations: 0 / 0.9103 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002692/0.2138, allocations: 51.98 kB / 0.9103 GB, free: 54.04 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 (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.0008488/0.2146, allocations: 417.1 kB / 0.9107 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.215, allocations: 207.2 kB / 0.9109 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.215, allocations: 0 / 0.9109 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.2152, allocations: 76.33 kB / 0.911 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.2156, allocations: 57.08 kB / 0.911 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.2162, allocations: 481.9 kB / 0.9115 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.2164, allocations: 0.7521 MB / 0.9122 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.193e-05/0.2164, allocations: 27.42 kB / 0.9123 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2164, allocations: 0 / 0.9123 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.004021/0.2205, allocations: 3.123 MB / 0.9153 GB, free: 49.04 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)