Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_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.0009425/0.0009425, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009826/0.0009827, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.00053/0.00053, allocations: 16.91 kB / 0.6736 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2412, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002609/0.2439, allocations: 1.578 MB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001731/0.2456, allocations: 0.9689 MB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.2458, allocations: 0 / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.2462, allocations: 83.69 kB / 0.7897 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.2465, allocations: 79.77 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.2469, allocations: 107.7 kB / 0.7899 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.2472, allocations: 127.7 kB / 0.79 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.2473, allocations: 41.83 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.2475, allocations: 83.69 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2477, allocations: 79.67 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.2477, allocations: 4 kB / 0.7902 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.2479, allocations: 47.83 kB / 0.7902 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.2479, allocations: 39.89 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.248, allocations: 57.58 kB / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.2483, allocations: 203.8 kB / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2483, allocations: 0 / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2483, allocations: 0 / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.2483, allocations: 0 / 0.7905 GB, free: 8.438 MB / 0.6075 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.000975/0.2493, allocations: 0.5244 MB / 0.791 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2493, allocations: 8.031 kB / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/0.2494, allocations: 27.67 kB / 0.7911 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.2499, allocations: 270.8 kB / 0.7913 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.2499, allocations: 8.188 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.2499, allocations: 8 kB / 0.7914 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.2502, allocations: 129.5 kB / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2503, allocations: 0 / 0.7915 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.2503, allocations: 8 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2503, allocations: 3.953 kB / 0.7915 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.2506, allocations: 104.4 kB / 0.7916 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.2514, allocations: 472.4 kB / 0.792 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.2517, allocations: 130.7 kB / 0.7922 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2517, allocations: 0 / 0.7922 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.252, allocations: 137.6 kB / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.502e-06/0.252, allocations: 0 / 0.7923 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006497/0.2527, allocations: 261.2 kB / 0.7925 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.2527, allocations: 59.41 kB / 0.7926 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.2531, allocations: 322.5 kB / 0.7929 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.2532, allocations: 33.92 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.831e-05/0.2533, allocations: 144.4 kB / 0.7931 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.2533, allocations: 39.55 kB / 0.7931 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.2533, allocations: 4 kB / 0.7931 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.2535, allocations: 342.8 kB / 0.7934 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.2537, allocations: 83.89 kB / 0.7935 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.2539, allocations: 142 kB / 0.7937 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.2541, allocations: 99.92 kB / 0.7938 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2542, allocations: 4 kB / 0.7938 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005631/0.2547, allocations: 304.1 kB / 0.7941 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2548, allocations: 4.188 kB / 0.7941 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2548, allocations: 8 kB / 0.7941 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2548, allocations: 0 / 0.7941 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.255, allocations: 47.91 kB / 0.7941 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.255, allocations: 0 / 0.7941 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.2552, allocations: 23.98 kB / 0.7941 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.2552, allocations: 12 kB / 0.7941 GB, free: 4.512 MB / 0.6075 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.0002049/0.2554, allocations: 170.7 kB / 0.7943 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.2555, allocations: 27.7 kB / 0.7943 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.2555, allocations: 22.19 kB / 0.7944 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2555, allocations: 0 / 0.7944 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2555, allocations: 0 / 0.7944 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2555, allocations: 3.984 kB / 0.7944 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008209/0.2564, allocations: 0.5607 MB / 0.7949 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2564, allocations: 0 / 0.7949 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.711e-05/0.2565, allocations: 15.98 kB / 0.7949 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2565, allocations: 0 / 0.7949 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.2565, allocations: 8 kB / 0.7949 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2565, allocations: 4 kB / 0.7949 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2565, allocations: 0 / 0.7949 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004888/0.257, allocations: 306.1 kB / 0.7952 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2571, allocations: 108.8 kB / 0.7953 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.2572, allocations: 11.94 kB / 0.7953 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2573, allocations: 19.97 kB / 0.7954 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.2574, allocations: 11.98 kB / 0.7954 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.2574, allocations: 4 kB / 0.7954 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001956/0.2576, allocations: 217.9 kB / 0.7956 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2576, allocations: 0 / 0.7956 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003404/0.258, allocations: 51.89 kB / 0.7956 GB, free: 2.891 MB / 0.6075 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.001006/0.259, allocations: 417.6 kB / 0.796 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.2595, allocations: 199.8 kB / 0.7962 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2595, allocations: 0 / 0.7962 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.2597, allocations: 79.89 kB / 0.7963 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.26, allocations: 52.44 kB / 0.7963 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008375/0.2609, allocations: 445 kB / 0.7968 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.2613, allocations: 0.7521 MB / 0.7975 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.2614, allocations: 33.94 kB / 0.7975 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.2615, allocations: 27.44 kB / 0.7976 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2615, allocations: 0 / 0.7976 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.006671/0.2682, allocations: 2.743 MB / 0.8002 GB, free: 14.28 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) Environment - environmentSimulation: