Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.784/2.784, allocations: 287.5 MB / 303.2 MB, free: 8.336 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.001354/0.001354, allocations: 185.9 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.6305 GB, free: 10.47 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.00097/0.0009693, allocations: 84.98 kB / 0.7438 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.00051, allocations: 17.3 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.922/1.149, allocations: 141.8 MB / 1.118 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.149, allocations: 89.17 kB / 1.118 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02898/1.178, allocations: 7.064 MB / 1.125 GB, free: 30.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/1.178, allocations: 0 / 1.125 GB, free: 30.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.386e-05/1.178, allocations: 3.844 kB / 1.125 GB, free: 30.99 MB / 0.698 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.001149/1.179, allocations: 0.5448 MB / 1.125 GB, free: 30.53 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.179, allocations: 7.906 kB / 1.125 GB, free: 30.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/1.179, allocations: 24.22 kB / 1.125 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/1.18, allocations: 303 kB / 1.126 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/1.18, allocations: 16.25 kB / 1.126 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/1.18, allocations: 11.12 kB / 1.126 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/1.181, allocations: 122.3 kB / 1.126 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.181, allocations: 0 / 1.126 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/1.181, allocations: 14.39 kB / 1.126 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/1.181, allocations: 4 kB / 1.126 GB, free: 30.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/1.181, allocations: 97.3 kB / 1.126 GB, free: 30.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/1.182, allocations: 492.4 kB / 1.126 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/1.183, allocations: 138.1 kB / 1.127 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/1.183, allocations: 65.2 kB / 1.127 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/1.183, allocations: 0 / 1.127 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004279/1.184, allocations: 129.9 kB / 1.127 GB, free: 29.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/1.184, allocations: 0 / 1.127 GB, free: 29.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.001046/1.185, allocations: 268.9 kB / 1.127 GB, free: 29.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/1.185, allocations: 62.8 kB / 1.127 GB, free: 29.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/1.185, allocations: 328.5 kB / 1.127 GB, free: 29.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/1.185, allocations: 33.08 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.185, allocations: 133.2 kB / 1.127 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.433e-05/1.185, allocations: 46.34 kB / 1.128 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/1.185, allocations: 8.125 kB / 1.128 GB, free: 29.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.186, allocations: 339.3 kB / 1.128 GB, free: 29.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/1.186, allocations: 102.5 kB / 1.128 GB, free: 29.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/1.186, allocations: 154.5 kB / 1.128 GB, free: 29.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006479/1.187, allocations: 222.7 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.187, allocations: 3.938 kB / 1.128 GB, free: 29.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009568/1.188, allocations: 314.2 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.188, allocations: 7.688 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/1.188, allocations: 0 / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.188, allocations: 3.812 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/1.188, allocations: 49.97 kB / 1.129 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.189, allocations: 3.938 kB / 1.129 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/1.189, allocations: 37.39 kB / 1.129 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/1.189, allocations: 11.16 kB / 1.129 GB, free: 28.96 MB / 0.698 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.0002471/1.189, allocations: 163.3 kB / 1.129 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/1.189, allocations: 23.25 kB / 1.129 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007496/1.19, allocations: 227 kB / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.19, allocations: 0 / 1.129 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.19, allocations: 6.047 kB / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/1.19, allocations: 0 / 1.129 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/1.191, allocations: 0.5665 MB / 1.13 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.191, allocations: 3.938 kB / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/1.191, allocations: 23.89 kB / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.191, allocations: 0 / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/1.191, allocations: 9.469 kB / 1.13 GB, free: 28.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.192, allocations: 4 kB / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.192, allocations: 0 / 1.13 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007304/1.192, allocations: 307.9 kB / 1.13 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/1.192, allocations: 114.1 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/1.192, allocations: 7.25 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/1.193, allocations: 17.06 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/1.193, allocations: 24.09 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/1.193, allocations: 11.28 kB / 1.13 GB, free: 28.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000322/1.193, allocations: 207.5 kB / 1.13 GB, free: 28.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.193, allocations: 3.938 kB / 1.13 GB, free: 28.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005254/1.194, allocations: 60.03 kB / 1.13 GB, free: 28.1 MB / 0.698 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 (17): * Single equations (assignments): 12 * 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.001242/1.195, allocations: 436.3 kB / 1.131 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007763/1.196, allocations: 207.3 kB / 1.131 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.196, allocations: 0 / 1.131 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/1.196, allocations: 87.17 kB / 1.131 GB, free: 27.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/1.197, allocations: 48.39 kB / 1.131 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009892/1.198, allocations: 456 kB / 1.132 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/1.198, allocations: 0.7459 MB / 1.132 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002167/1.198, allocations: 43 kB / 1.132 GB, free: 26.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.911e-05/1.198, allocations: 29 kB / 1.132 GB, free: 26.92 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.198, allocations: 3.938 kB / 1.132 GB, free: 26.92 MB / 0.698 GB Notification: Performance of Templates: time 0.00902/1.208, allocations: 2.873 MB / 1.135 GB, free: 26.01 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)