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.001121/0.001121, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001392/0.001392, allocations: 168.7 kB / 15.95 MB, free: 204 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.628/1.628, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.717/1.717, allocations: 252 MB / 0.5102 GB, free: 4.859 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.0005289/0.000529, allocations: 20 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5739/0.5745, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002454/0.577, allocations: 1.606 MB / 0.7297 GB, free: 9.797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.5785, allocations: 0.8628 MB / 0.7306 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.5787, allocations: 0 / 0.7306 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.5791, allocations: 83.7 kB / 0.7306 GB, free: 8.844 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.5793, allocations: 75.72 kB / 0.7307 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.5796, allocations: 102.8 kB / 0.7308 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000225/0.5798, allocations: 179.5 kB / 0.731 GB, free: 8.496 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.58, allocations: 41.83 kB / 0.731 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.5801, allocations: 75.62 kB / 0.7311 GB, free: 8.383 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.5803, allocations: 87.59 kB / 0.7312 GB, free: 8.297 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.5803, allocations: 7.938 kB / 0.7312 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.5804, allocations: 24 kB / 0.7312 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.5804, allocations: 51.83 kB / 0.7313 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.5805, allocations: 53.58 kB / 0.7313 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.5807, allocations: 193.5 kB / 0.7315 GB, free: 7.969 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5807, allocations: 0 / 0.7315 GB, free: 7.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5807, allocations: 0 / 0.7315 GB, free: 7.969 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.5808, allocations: 0 / 0.7315 GB, free: 7.969 MB / 0.545 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.000753/0.5815, allocations: 0.5063 MB / 0.732 GB, free: 7.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.5816, allocations: 12.03 kB / 0.732 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.5816, allocations: 27.7 kB / 0.732 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.582, allocations: 269.8 kB / 0.7323 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.582, allocations: 4.188 kB / 0.7323 GB, free: 7.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.582, allocations: 12 kB / 0.7323 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.5824, allocations: 151.6 kB / 0.7324 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5824, allocations: 0 / 0.7324 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.5824, allocations: 4 kB / 0.7324 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5824, allocations: 7.953 kB / 0.7324 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.5827, allocations: 96.42 kB / 0.7325 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.5834, allocations: 0.5356 MB / 0.7331 GB, free: 6.207 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.5837, allocations: 134.6 kB / 0.7332 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.5839, allocations: 60.83 kB / 0.7332 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.584, allocations: 11.98 kB / 0.7333 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.5843, allocations: 131.2 kB / 0.7334 GB, free: 5.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.5843, allocations: 0 / 0.7334 GB, free: 5.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006793/0.585, allocations: 257.3 kB / 0.7336 GB, free: 5.594 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.5851, allocations: 55.41 kB / 0.7337 GB, free: 5.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.5855, allocations: 326.4 kB / 0.734 GB, free: 5.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.5855, allocations: 33.7 kB / 0.734 GB, free: 5.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5857, allocations: 136.5 kB / 0.7342 GB, free: 5.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.5857, allocations: 43.53 kB / 0.7342 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.5857, allocations: 4 kB / 0.7342 GB, free: 4.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5859, allocations: 338.8 kB / 0.7345 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.5861, allocations: 95.83 kB / 0.7346 GB, free: 4.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.5864, allocations: 142 kB / 0.7348 GB, free: 4.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.5866, allocations: 95.97 kB / 0.7348 GB, free: 4.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.5866, allocations: 0 / 0.7348 GB, free: 4.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005957/0.5872, allocations: 299.7 kB / 0.7351 GB, free: 3.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5873, allocations: 8 kB / 0.7351 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5873, allocations: 3.984 kB / 0.7351 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.5873, allocations: 4 kB / 0.7351 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.5875, allocations: 47.91 kB / 0.7352 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.5876, allocations: 4 kB / 0.7352 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.5877, allocations: 35.86 kB / 0.7352 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.5878, allocations: 8 kB / 0.7352 GB, free: 3.887 MB / 0.545 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,$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,cha.u_start) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.588, allocations: 163.5 kB / 0.7354 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.588, allocations: 19.72 kB / 0.7354 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.5881, allocations: 26.17 kB / 0.7354 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5881, allocations: 4 kB / 0.7354 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5881, allocations: 3.938 kB / 0.7354 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5881, allocations: 0 / 0.7354 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000894/0.589, allocations: 0.5635 MB / 0.736 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.589, allocations: 3.984 kB / 0.736 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.894e-05/0.5891, allocations: 23.98 kB / 0.736 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5891, allocations: 0 / 0.736 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.5892, allocations: 4 kB / 0.736 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.5892, allocations: 0 / 0.736 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5892, allocations: 4 kB / 0.736 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.5896, allocations: 303.1 kB / 0.7363 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.5897, allocations: 108.8 kB / 0.7364 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.5898, allocations: 4 kB / 0.7364 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.59, allocations: 19.98 kB / 0.7364 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.5901, allocations: 15.97 kB / 0.7365 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.5901, allocations: 8 kB / 0.7365 GB, free: 2.527 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000219/0.5903, allocations: 204.4 kB / 0.7367 GB, free: 2.328 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5903, allocations: 0 / 0.7367 GB, free: 2.328 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003398/0.5907, allocations: 44 kB / 0.7367 GB, free: 2.285 MB / 0.545 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.001181/0.5918, allocations: 423.5 kB / 0.7371 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.5924, allocations: 203.7 kB / 0.7373 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5924, allocations: 0 / 0.7373 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.5926, allocations: 83.88 kB / 0.7374 GB, free: 1.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.593, allocations: 48.84 kB / 0.7374 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007639/0.5938, allocations: 426.4 kB / 0.7378 GB, free: 1.258 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.5942, allocations: 0.7482 MB / 0.7386 GB, free: 496 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.5943, allocations: 33.92 kB / 0.7386 GB, free: 464 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.5944, allocations: 27.42 kB / 0.7386 GB, free: 436 kB / 0.545 GB Notification: Performance of SimCode: time 1.613e-06/0.5944, allocations: 0 / 0.7386 GB, free: 436 kB / 0.545 GB Notification: Performance of Templates: time 0.00651/0.6009, allocations: 2.603 MB / 0.7412 GB, free: 13.84 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: