Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001123/0.001123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 472.6 MB / 0.7451 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 65.17 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4852, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003817/0.4891, allocations: 1.929 MB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.4911, allocations: 1.13 MB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.4912, allocations: 3.938 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.4916, allocations: 99.55 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.4919, allocations: 95.53 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.4923, allocations: 151.6 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.4926, allocations: 211.5 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.4928, allocations: 49.66 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.493, allocations: 95.56 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.4931, allocations: 107.6 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.4932, allocations: 12 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.4933, allocations: 51.92 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.4934, allocations: 63.81 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.4935, allocations: 91.41 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.4939, allocations: 267.4 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4939, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4939, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4939, allocations: 4 kB / 1.072 GB, free: 6.02 MB / 0.8262 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.0009411/0.4949, allocations: 0.5374 MB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4949, allocations: 8.031 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.495, allocations: 28.66 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.4954, allocations: 287.4 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.4954, allocations: 8 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.4954, allocations: 8 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.4957, allocations: 115.1 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4957, allocations: 11.86 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.4958, allocations: 11.94 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4958, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.4961, allocations: 87.92 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.4968, allocations: 452.3 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.4972, allocations: 134.6 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.4973, allocations: 56.81 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.4974, allocations: 7.938 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.4977, allocations: 127.3 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.4977, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0006574/0.4983, allocations: 243.3 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.4984, allocations: 59.41 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.4987, allocations: 326.5 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.4988, allocations: 33.7 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4989, allocations: 140.4 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.4989, allocations: 43.44 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-05/0.499, allocations: 61.69 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4992, allocations: 330.8 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.4994, allocations: 83.94 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.4996, allocations: 142 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.5, allocations: 183.7 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5, allocations: 7.875 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005797/0.5006, allocations: 277.1 kB / 1.076 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.5006, allocations: 4 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5006, allocations: 0 / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5007, allocations: 8.156 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.5009, allocations: 43.91 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.5009, allocations: 0 / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.501, allocations: 27.88 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.5011, allocations: 12 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (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 (30): * Single equations (assignments): 30 * 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.000157/0.5012, allocations: 153.8 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.5013, allocations: 27.66 kB / 1.076 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.5014, allocations: 30.17 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5014, allocations: 0 / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5014, allocations: 4 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5014, allocations: 0 / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.5022, allocations: 0.5489 MB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5022, allocations: 0 / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.5023, allocations: 19.98 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5023, allocations: 0 / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.5023, allocations: 11.98 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5023, allocations: 0 / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5023, allocations: 0 / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.5028, allocations: 304.7 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-05/0.5029, allocations: 92.92 kB / 1.077 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.5029, allocations: 11.98 kB / 1.077 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5031, allocations: 11.98 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.5032, allocations: 15.98 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.5032, allocations: 7.984 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002024/0.5034, allocations: 213.9 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5034, allocations: 0 / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000332/0.5037, allocations: 55.83 kB / 1.078 GB, free: 348 kB / 0.8262 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.001118/0.5049, allocations: 427.7 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.5054, allocations: 190.5 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5054, allocations: 0 / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.5056, allocations: 70.36 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.506, allocations: 60.05 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007907/0.5068, allocations: 404.1 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.5072, allocations: 0.7519 MB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.777e-05/0.5073, allocations: 29.94 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.5074, allocations: 27.42 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.5074, allocations: 0 / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of Templates: time 0.007277/0.5147, allocations: 3.028 MB / 1.082 GB, free: 11.51 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1)