Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_9_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.001287/0.001287, allocations: 99.55 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.0021/0.0021, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005036, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8835/0.8841, allocations: 142.3 MB / 0.9535 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003385/0.8875, allocations: 1.572 MB / 0.9551 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.8898, allocations: 1.028 MB / 0.9561 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.8901, allocations: 5.219 kB / 0.9561 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.8907, allocations: 85.27 kB / 0.9562 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.8913, allocations: 80.2 kB / 0.9562 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.892, allocations: 118.3 kB / 0.9563 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.8925, allocations: 125.8 kB / 0.9565 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.8928, allocations: 41.03 kB / 0.9565 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.8931, allocations: 87.23 kB / 0.9566 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.8932, allocations: 79.08 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.8933, allocations: 4.531 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.8935, allocations: 38.09 kB / 0.9567 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.174e-05/0.8936, allocations: 51.34 kB / 0.9568 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.684e-05/0.8937, allocations: 55.89 kB / 0.9568 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.894, allocations: 199.8 kB / 0.957 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.894, allocations: 0 / 0.957 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.408e-06/0.894, allocations: 4 kB / 0.957 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.894, allocations: 7.875 kB / 0.957 GB, free: 5.379 MB / 0.7169 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.001115/0.8952, allocations: 0.5112 MB / 0.9575 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8952, allocations: 8.844 kB / 0.9575 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.8953, allocations: 22.44 kB / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.8958, allocations: 282.6 kB / 0.9578 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.8959, allocations: 12.97 kB / 0.9578 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.8959, allocations: 11.34 kB / 0.9578 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.8963, allocations: 121.5 kB / 0.9579 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8963, allocations: 1.781 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.8963, allocations: 3.953 kB / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.8963, allocations: 7.578 kB / 0.958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.8967, allocations: 101.4 kB / 0.9581 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000968/0.8976, allocations: 458.3 kB / 0.9585 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.8981, allocations: 138.5 kB / 0.9586 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.8982, allocations: 6.875 kB / 0.9586 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003797/0.8985, allocations: 129.7 kB / 0.9588 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.8986, allocations: 0 / 0.9588 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0008379/0.8994, allocations: 257.1 kB / 0.959 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.8995, allocations: 57.69 kB / 0.9591 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.9, allocations: 329.6 kB / 0.9594 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.9001, allocations: 37.03 kB / 0.9594 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.9002, allocations: 131.2 kB / 0.9595 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.9003, allocations: 41.98 kB / 0.9596 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.9003, allocations: 5.031 kB / 0.9596 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.9004, allocations: 337.6 kB / 0.9599 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.9007, allocations: 86.39 kB / 0.96 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.9009, allocations: 138.8 kB / 0.9601 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.9012, allocations: 94.16 kB / 0.9602 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.9012, allocations: 0 / 0.9602 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006496/0.9019, allocations: 287.5 kB / 0.9605 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.9019, allocations: 10.38 kB / 0.9605 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.9019, allocations: 1 kB / 0.9605 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.902, allocations: 3.75 kB / 0.9605 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.9022, allocations: 44.78 kB / 0.9605 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.9022, allocations: 6 kB / 0.9605 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.9025, allocations: 29.89 kB / 0.9606 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.9025, allocations: 7.031 kB / 0.9606 GB, free: 2.586 MB / 0.7169 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 ($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 (30): * Single equations (assignments): 30 * 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.0002034/0.9027, allocations: 165.8 kB / 0.9607 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.9028, allocations: 22.05 kB / 0.9608 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.9029, allocations: 22.75 kB / 0.9608 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.9029, allocations: 2 kB / 0.9608 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.9029, allocations: 3.938 kB / 0.9608 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.9029, allocations: 8.922 kB / 0.9608 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009634/0.9039, allocations: 0.5592 MB / 0.9613 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.9039, allocations: 1.25 kB / 0.9613 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.685e-05/0.904, allocations: 15.92 kB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.904, allocations: 1.062 kB / 0.9614 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.9041, allocations: 5.875 kB / 0.9614 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9041, allocations: 1 kB / 0.9614 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9041, allocations: 0 / 0.9614 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.9046, allocations: 313.2 kB / 0.9617 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.9047, allocations: 101.5 kB / 0.9618 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.9048, allocations: 6.031 kB / 0.9618 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.905, allocations: 27.25 kB / 0.9618 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.9051, allocations: 13.77 kB / 0.9618 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.9051, allocations: 8.672 kB / 0.9618 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002506/0.9054, allocations: 206.9 kB / 0.962 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9054, allocations: 0 / 0.962 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004096/0.9058, allocations: 60.27 kB / 0.9621 GB, free: 1.418 MB / 0.7169 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.001313/0.9071, allocations: 419.5 kB / 0.9625 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006203/0.9077, allocations: 196.7 kB / 0.9627 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9078, allocations: 0 / 0.9627 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.908, allocations: 78.8 kB / 0.9627 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.9084, allocations: 45.72 kB / 0.9628 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009278/0.9093, allocations: 439.9 kB / 0.9632 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.9097, allocations: 0.7591 MB / 0.9639 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.9098, allocations: 37.75 kB / 0.964 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.9099, allocations: 21 kB / 0.964 GB, free: 12 kB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.9099, allocations: 0 / 0.964 GB, free: 12 kB / 0.7169 GB Notification: Performance of Templates: time 0.008894/0.9188, allocations: 2.732 MB / 0.9667 GB, free: 14.66 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches