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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007677/0.007678, allocations: 103.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001892/0.001893, allocations: 199 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 251.7 MB / 0.5094 GB, free: 3.023 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 74.09 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3054, allocations: 104.7 MB / 0.828 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003684/0.3092, allocations: 1.945 MB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3109, allocations: 0.9246 MB / 0.8309 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.311, allocations: 7.938 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.3115, allocations: 83.64 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3119, allocations: 99.52 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.3123, allocations: 119.3 kB / 0.8311 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.3126, allocations: 207.5 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.3128, allocations: 57.47 kB / 0.8314 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.313, allocations: 103.6 kB / 0.8315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.3132, allocations: 95.59 kB / 0.8316 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.3132, allocations: 12 kB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3133, allocations: 47.98 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.3134, allocations: 59.81 kB / 0.8317 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3135, allocations: 91.41 kB / 0.8318 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.3139, allocations: 251.1 kB / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3139, allocations: 0 / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3139, allocations: 0 / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.3139, allocations: 0 / 0.832 GB, free: 12.09 MB / 0.6544 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.0009656/0.3149, allocations: 0.5298 MB / 0.8325 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3149, allocations: 12.03 kB / 0.8326 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.572e-05/0.315, allocations: 24.66 kB / 0.8326 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.3155, allocations: 278.9 kB / 0.8328 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.3155, allocations: 16.12 kB / 0.8329 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.3156, allocations: 12 kB / 0.8329 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.3159, allocations: 137.8 kB / 0.833 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3159, allocations: 7.938 kB / 0.833 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.316, allocations: 8 kB / 0.833 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.316, allocations: 0 / 0.833 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.3163, allocations: 91.86 kB / 0.8331 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.317, allocations: 0.5241 MB / 0.8336 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.3173, allocations: 130.6 kB / 0.8337 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.3175, allocations: 60.77 kB / 0.8338 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.3175, allocations: 0 / 0.8338 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/0.3178, allocations: 123.3 kB / 0.8339 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3178, allocations: 0 / 0.8339 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0006541/0.3185, allocations: 241.2 kB / 0.8342 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.3186, allocations: 63.39 kB / 0.8342 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/0.3189, allocations: 322.4 kB / 0.8345 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3189, allocations: 41.69 kB / 0.8346 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.701e-05/0.319, allocations: 140.5 kB / 0.8347 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.3191, allocations: 39.55 kB / 0.8347 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/0.3192, allocations: 57.69 kB / 0.8348 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3193, allocations: 334.8 kB / 0.8351 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.3195, allocations: 83.95 kB / 0.8352 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.3198, allocations: 146.4 kB / 0.8353 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.3202, allocations: 196.6 kB / 0.8355 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3202, allocations: 4 kB / 0.8355 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005486/0.3208, allocations: 285.2 kB / 0.8358 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.3208, allocations: 15.88 kB / 0.8358 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3208, allocations: 4 kB / 0.8358 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3208, allocations: 4 kB / 0.8358 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3211, allocations: 43.91 kB / 0.8359 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3211, allocations: 0 / 0.8359 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.3213, allocations: 31.83 kB / 0.8359 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.3213, allocations: 11.98 kB / 0.8359 GB, free: 7.867 MB / 0.6544 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.0001786/0.3215, allocations: 164 kB / 0.8361 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.3215, allocations: 23.75 kB / 0.8361 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.3216, allocations: 30.17 kB / 0.8361 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3216, allocations: 0 / 0.8361 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3216, allocations: 0 / 0.8361 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3216, allocations: 0 / 0.8361 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/0.3225, allocations: 0.544 MB / 0.8366 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3225, allocations: 4 kB / 0.8366 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.3226, allocations: 19.98 kB / 0.8367 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3226, allocations: 0 / 0.8367 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3226, allocations: 3.984 kB / 0.8367 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3226, allocations: 7.938 kB / 0.8367 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3226, allocations: 4 kB / 0.8367 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.3231, allocations: 295.1 kB / 0.837 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3232, allocations: 96.83 kB / 0.837 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.3232, allocations: 8 kB / 0.8371 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3234, allocations: 15.97 kB / 0.8371 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.3235, allocations: 15.98 kB / 0.8371 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3235, allocations: 8 kB / 0.8371 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001918/0.3237, allocations: 204.4 kB / 0.8373 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.064e-06/0.3237, allocations: 0 / 0.8373 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003154/0.324, allocations: 43.88 kB / 0.8373 GB, free: 6.293 MB / 0.6544 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.00104/0.3251, allocations: 421.2 kB / 0.8377 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.3256, allocations: 183.8 kB / 0.8379 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3256, allocations: 0 / 0.8379 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.3258, allocations: 84.2 kB / 0.838 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.3263, allocations: 54.23 kB / 0.838 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.327, allocations: 398.4 kB / 0.8384 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3273, allocations: 0.7518 MB / 0.8392 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.895e-05/0.3274, allocations: 33.92 kB / 0.8392 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/0.3275, allocations: 31.42 kB / 0.8392 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.3275, allocations: 0 / 0.8392 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of Templates: time 0.006595/0.3341, allocations: 2.9 MB / 0.842 GB, free: 1.59 MB / 0.6544 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)