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.001364/0.001364, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001825/0.001825, allocations: 191 kB / 16.25 MB, free: 6.617 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.68/1.68, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.718/1.718, allocations: 251.6 MB / 0.5089 GB, free: 3.258 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.001314/0.001315, allocations: 71.89 kB / 0.6218 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.689/0.6903, allocations: 104.7 MB / 0.724 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00555/0.696, allocations: 1.999 MB / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.698, allocations: 0.9128 MB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.6982, allocations: 7.938 kB / 0.7269 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.6988, allocations: 79.77 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.6992, allocations: 91.64 kB / 0.727 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.6996, allocations: 106.4 kB / 0.7271 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.6999, allocations: 211.5 kB / 0.7273 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.7001, allocations: 49.64 kB / 0.7274 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.7003, allocations: 95.61 kB / 0.7275 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.7005, allocations: 95.59 kB / 0.7275 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.7005, allocations: 16 kB / 0.7276 GB, free: 9.375 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.7006, allocations: 43.98 kB / 0.7276 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.7008, allocations: 55.83 kB / 0.7277 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.7009, allocations: 95.41 kB / 0.7278 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.7012, allocations: 257 kB / 0.728 GB, free: 8.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.7013, allocations: 0 / 0.728 GB, free: 8.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7013, allocations: 0 / 0.728 GB, free: 8.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.275e-05/0.7013, allocations: 0 / 0.728 GB, free: 8.934 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.000946/0.7022, allocations: 0.5219 MB / 0.7285 GB, free: 8.363 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.7023, allocations: 12.03 kB / 0.7285 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.7024, allocations: 28.66 kB / 0.7285 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.7027, allocations: 282.9 kB / 0.7288 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.7028, allocations: 16.12 kB / 0.7288 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.7028, allocations: 12 kB / 0.7288 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.7032, allocations: 135.9 kB / 0.729 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7032, allocations: 0 / 0.729 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.7032, allocations: 4 kB / 0.729 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7032, allocations: 4 kB / 0.729 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.7035, allocations: 95.8 kB / 0.7291 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.7044, allocations: 0.5203 MB / 0.7296 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.7047, allocations: 130.5 kB / 0.7297 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.7049, allocations: 60.8 kB / 0.7298 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.705, allocations: 4 kB / 0.7298 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.7054, allocations: 127.3 kB / 0.7299 GB, free: 6.824 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.562e-06/0.7054, allocations: 0 / 0.7299 GB, free: 6.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007163/0.7062, allocations: 245.2 kB / 0.7301 GB, free: 6.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.7062, allocations: 59.34 kB / 0.7302 GB, free: 6.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.7066, allocations: 322.5 kB / 0.7305 GB, free: 6.188 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.7066, allocations: 37.7 kB / 0.7305 GB, free: 6.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.7068, allocations: 136.5 kB / 0.7306 GB, free: 6.008 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.7068, allocations: 39.53 kB / 0.7307 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.615e-05/0.7069, allocations: 61.69 kB / 0.7307 GB, free: 5.902 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.7071, allocations: 338.8 kB / 0.7311 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.7073, allocations: 83.95 kB / 0.7311 GB, free: 5.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.7075, allocations: 141.9 kB / 0.7313 GB, free: 5.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.7079, allocations: 195.8 kB / 0.7315 GB, free: 5.109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7079, allocations: 0 / 0.7315 GB, free: 5.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005665/0.7085, allocations: 296.6 kB / 0.7318 GB, free: 4.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.7085, allocations: 7.938 kB / 0.7318 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.7085, allocations: 0 / 0.7318 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.7086, allocations: 4 kB / 0.7318 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.7088, allocations: 43.91 kB / 0.7318 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.7088, allocations: 7.938 kB / 0.7318 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.709, allocations: 27.83 kB / 0.7318 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.709, allocations: 15.98 kB / 0.7319 GB, free: 4.711 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,decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,cha.u_start,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 (32): * Single equations (assignments): 32 * 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.0002101/0.7092, allocations: 163.5 kB / 0.732 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.7093, allocations: 19.75 kB / 0.732 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.995e-05/0.7094, allocations: 30.11 kB / 0.7321 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7094, allocations: 4 kB / 0.7321 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.7094, allocations: 0 / 0.7321 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7094, allocations: 0 / 0.7321 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009262/0.7103, allocations: 0.56 MB / 0.7326 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7103, allocations: 0 / 0.7326 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/0.7104, allocations: 15.98 kB / 0.7326 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7104, allocations: 4 kB / 0.7326 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.7105, allocations: 4 kB / 0.7326 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7105, allocations: 0 / 0.7326 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7105, allocations: 3.984 kB / 0.7326 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.711, allocations: 295.1 kB / 0.7329 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.7111, allocations: 104.8 kB / 0.733 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.7111, allocations: 4 kB / 0.733 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.7113, allocations: 19.97 kB / 0.733 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.7114, allocations: 11.98 kB / 0.7331 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.7114, allocations: 8 kB / 0.7331 GB, free: 3.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002152/0.7116, allocations: 200.4 kB / 0.7333 GB, free: 3.184 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7116, allocations: 8 kB / 0.7333 GB, free: 3.176 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003402/0.712, allocations: 44 kB / 0.7333 GB, free: 3.133 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 (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.001257/0.7133, allocations: 416.1 kB / 0.7337 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005353/0.7138, allocations: 204 kB / 0.7339 GB, free: 2.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7138, allocations: 4.062 kB / 0.7339 GB, free: 2.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.714, allocations: 67.89 kB / 0.734 GB, free: 2.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.7145, allocations: 51.56 kB / 0.734 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009196/0.7154, allocations: 459.6 kB / 0.7344 GB, free: 2.082 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.7159, allocations: 0.748 MB / 0.7352 GB, free: 1.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000103/0.716, allocations: 29.94 kB / 0.7352 GB, free: 1.281 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.716, allocations: 31.42 kB / 0.7352 GB, free: 1.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.623e-06/0.716, allocations: 0 / 0.7352 GB, free: 1.25 MB / 0.545 GB Notification: Performance of Templates: time 0.007499/0.7235, allocations: 2.8 MB / 0.738 GB, free: 14.47 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (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)