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.462/1.462, 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.001005/0.001005, allocations: 179 kB / 326.5 MB, free: 2.699 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.291/2.291, allocations: 205 MB / 0.5766 GB, free: 21.05 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.0008428/0.0008429, allocations: 94.2 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003424, allocations: 9.781 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2035, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002259/0.2059, allocations: 1.677 MB / 0.8984 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.2073, allocations: 0.9088 MB / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2075, allocations: 4 kB / 0.8993 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.2079, allocations: 83.7 kB / 0.8994 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.2081, allocations: 87.72 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.2084, allocations: 109.6 kB / 0.8996 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.2086, allocations: 191.5 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.2087, allocations: 45.59 kB / 0.8998 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.2089, allocations: 79.56 kB / 0.8999 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.805e-05/0.209, allocations: 95.59 kB / 0.8999 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.209, allocations: 4 kB / 0.9 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.2091, allocations: 27.98 kB / 0.9 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.2091, allocations: 51.81 kB / 0.9 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.2092, allocations: 83.36 kB / 0.9001 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.2094, allocations: 187.6 kB / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2094, allocations: 0 / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2094, allocations: 0 / 0.9003 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2094, allocations: 0 / 0.9003 GB, free: 64.56 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.0006497/0.2101, allocations: 0.4987 MB / 0.9008 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2101, allocations: 8.031 kB / 0.9008 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.2102, allocations: 24.66 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.2104, allocations: 282.9 kB / 0.9011 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2105, allocations: 20.06 kB / 0.9011 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.2105, allocations: 12 kB / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.2108, allocations: 143.3 kB / 0.9012 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2108, allocations: 4 kB / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2108, allocations: 0 / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2108, allocations: 4 kB / 0.9012 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.2111, allocations: 107.8 kB / 0.9014 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.2117, allocations: 0.5241 MB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.212, allocations: 134.6 kB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.2121, allocations: 64.83 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.2122, allocations: 7.969 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.2124, allocations: 128.4 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2125, allocations: 0 / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0005659/0.213, allocations: 267.4 kB / 0.9024 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2131, allocations: 59.39 kB / 0.9025 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.2133, allocations: 326.5 kB / 0.9028 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2133, allocations: 37.69 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.2134, allocations: 132.5 kB / 0.903 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.2134, allocations: 39.53 kB / 0.903 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.2135, allocations: 37.7 kB / 0.903 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.2136, allocations: 338.8 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.2138, allocations: 91.94 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.214, allocations: 141.9 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.2143, allocations: 213.4 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2143, allocations: 0 / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004745/0.2148, allocations: 305.2 kB / 0.9041 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2148, allocations: 7.938 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2148, allocations: 4 kB / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2149, allocations: 0 / 0.9041 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.2151, allocations: 51.91 kB / 0.9041 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2151, allocations: 4 kB / 0.9041 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.2152, allocations: 27.83 kB / 0.9042 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.2153, allocations: 8 kB / 0.9042 GB, free: 60.3 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,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,cha.u_start,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * 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.0001084/0.2154, allocations: 167.5 kB / 0.9043 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.2154, allocations: 23.66 kB / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.379e-05/0.2154, allocations: 26.17 kB / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2155, allocations: 0 / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2155, allocations: 4 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2155, allocations: 3.984 kB / 0.9044 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00063/0.2161, allocations: 0.5567 MB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2161, allocations: 0 / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.2162, allocations: 23.92 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2162, allocations: 4 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2162, allocations: 8 kB / 0.905 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2162, allocations: 0 / 0.905 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2163, allocations: 0 / 0.905 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/0.2166, allocations: 311 kB / 0.9053 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.2167, allocations: 108.8 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.2167, allocations: 0 / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.2169, allocations: 19.98 kB / 0.9054 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.623e-05/0.2169, allocations: 19.97 kB / 0.9054 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.2169, allocations: 4 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001392/0.2171, allocations: 200.5 kB / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2171, allocations: 0 / 0.9056 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002678/0.2174, allocations: 47.98 kB / 0.9057 GB, free: 58.69 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.0008455/0.2182, allocations: 418.5 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.2186, allocations: 207.7 kB / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2187, allocations: 0 / 0.9063 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.2188, allocations: 71.89 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2192, allocations: 53.16 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005764/0.2198, allocations: 479.6 kB / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.22, allocations: 0.7404 MB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.22, allocations: 31.42 kB / 0.9076 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2201, allocations: 3.938 kB / 0.9076 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.004007/0.2241, allocations: 3.128 MB / 0.9106 GB, free: 53.69 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)