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.001329/0.001329, allocations: 108.3 kB / 16.35 MB, free: 5.879 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.00141/0.001409, allocations: 193.5 kB / 17.29 MB, free: 5.516 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.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001492/0.001492, allocations: 70.88 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.251, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003652/0.2547, allocations: 1.924 MB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2567, allocations: 1.038 MB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.2568, allocations: 4 kB / 0.7877 GB, free: 180 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.2573, allocations: 95.56 kB / 0.7878 GB, free: 84 kB / 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.4406/0.6979, allocations: 88.3 kB / 0.7879 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.6985, allocations: 132.3 kB / 0.788 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.6989, allocations: 217.4 kB / 0.7882 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.6991, allocations: 50.8 kB / 0.7882 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.6992, allocations: 96.91 kB / 0.7883 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.6994, allocations: 106.8 kB / 0.7884 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.6994, allocations: 13.06 kB / 0.7884 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.6996, allocations: 52.22 kB / 0.7885 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.522e-05/0.6997, allocations: 59.58 kB / 0.7885 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.6998, allocations: 92.22 kB / 0.7886 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.7002, allocations: 277.8 kB / 0.7889 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.7002, allocations: 3.75 kB / 0.7889 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7002, allocations: 0 / 0.7889 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.7002, allocations: 0 / 0.7889 GB, free: 46.34 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008569/0.7011, allocations: 0.5434 MB / 0.7894 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.7011, allocations: 10 kB / 0.7894 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.7012, allocations: 25.06 kB / 0.7895 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.7015, allocations: 288.8 kB / 0.7897 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.7015, allocations: 12.75 kB / 0.7898 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.7016, allocations: 9.469 kB / 0.7898 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.7018, allocations: 118.4 kB / 0.7899 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7019, allocations: 0 / 0.7899 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.7019, allocations: 10.89 kB / 0.7899 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7019, allocations: 1.406 kB / 0.7899 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.7022, allocations: 87.97 kB / 0.79 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.7028, allocations: 454.9 kB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.7032, allocations: 126.8 kB / 0.7905 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.7033, allocations: 57.52 kB / 0.7906 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.7034, allocations: 8.703 kB / 0.7906 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.7037, allocations: 124.5 kB / 0.7907 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.7037, allocations: 0 / 0.7907 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.0005967/0.7043, allocations: 244.2 kB / 0.7909 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.7043, allocations: 57.97 kB / 0.791 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.7046, allocations: 333 kB / 0.7913 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.7046, allocations: 35.77 kB / 0.7914 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.7047, allocations: 136.8 kB / 0.7915 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.7047, allocations: 41.89 kB / 0.7915 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/0.7048, allocations: 57.02 kB / 0.7916 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.7049, allocations: 344.6 kB / 0.7919 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.7051, allocations: 82.98 kB / 0.792 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.7053, allocations: 137.5 kB / 0.7921 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.7057, allocations: 201.6 kB / 0.7923 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7057, allocations: 0 / 0.7923 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000517/0.7062, allocations: 290.2 kB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7062, allocations: 4.281 kB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7062, allocations: 3.5 kB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.7063, allocations: 7.406 kB / 0.7926 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.7065, allocations: 46.44 kB / 0.7926 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.7065, allocations: 0.6875 kB / 0.7926 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.7066, allocations: 33.69 kB / 0.7927 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.7067, allocations: 10.84 kB / 0.7927 GB, free: 44.41 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: 20 ($PRE.cha.y,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,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 (31): * Single equations (assignments): 31 * 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.0001119/0.7068, allocations: 155.3 kB / 0.7928 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.7068, allocations: 22.09 kB / 0.7929 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.969e-05/0.7069, allocations: 31.16 kB / 0.7929 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7069, allocations: 6.688 kB / 0.7929 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7069, allocations: 0 / 0.7929 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.7069, allocations: 0 / 0.7929 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.7076, allocations: 0.5477 MB / 0.7934 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7076, allocations: 0 / 0.7934 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.342e-05/0.7077, allocations: 21.25 kB / 0.7934 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.7077, allocations: 3.516 kB / 0.7934 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.7077, allocations: 3.781 kB / 0.7935 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7077, allocations: 0 / 0.7935 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7077, allocations: 5.094 kB / 0.7935 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.7081, allocations: 297 kB / 0.7937 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.7082, allocations: 102.8 kB / 0.7938 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.7082, allocations: 7.172 kB / 0.7938 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.7084, allocations: 17.67 kB / 0.7939 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.7084, allocations: 21.92 kB / 0.7939 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.7085, allocations: 10.19 kB / 0.7939 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001488/0.7086, allocations: 210.6 kB / 0.7941 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7086, allocations: 0 / 0.7941 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000304/0.7089, allocations: 44 kB / 0.7941 GB, free: 43.64 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.0009513/0.7099, allocations: 420.3 kB / 0.7945 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.7103, allocations: 192.1 kB / 0.7947 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7104, allocations: 0 / 0.7947 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.7105, allocations: 79 kB / 0.7948 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.7109, allocations: 51.62 kB / 0.7948 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/0.7116, allocations: 396.7 kB / 0.7952 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.7118, allocations: 0.7571 MB / 0.796 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.166e-05/0.7119, allocations: 36.61 kB / 0.796 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.7119, allocations: 21.25 kB / 0.796 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of SimCode: time 1.342e-06/0.7119, allocations: 0 / 0.796 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.006653/0.7186, allocations: 3.044 MB / 0.799 GB, free: 42.45 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)