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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 176.1 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000909/0.0009091, allocations: 96.55 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 12.66 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.281, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.4848, allocations: 135.8 MB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.4852, allocations: 87.94 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0197/0.5049, allocations: 6.869 MB / 1.039 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.517e-06/0.505, allocations: 0 / 1.039 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.468e-05/0.505, allocations: 8 kB / 1.039 GB, free: 1.012 MB / 0.6823 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.00106/0.5061, allocations: 0.5299 MB / 1.04 GB, free: 440 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.5061, allocations: 8.031 kB / 1.04 GB, free: 432 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.5062, allocations: 23.72 kB / 1.04 GB, free: 408 kB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.5068, allocations: 297.7 kB / 1.04 GB, free: 68 kB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.5068, allocations: 8.188 kB / 1.04 GB, free: 60 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.5068, allocations: 19.98 kB / 1.04 GB, free: 40 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.5073, allocations: 148.4 kB / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5073, allocations: 0 / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.5073, allocations: 0 / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5074, allocations: 4 kB / 1.04 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.5077, allocations: 104.4 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.5087, allocations: 0.5523 MB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.5092, allocations: 134.6 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.5092, allocations: 4 kB / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.5096, allocations: 139.1 kB / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.5096, allocations: 0 / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0007798/0.5104, allocations: 266.9 kB / 1.042 GB, free: 14.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.5104, allocations: 51.62 kB / 1.042 GB, free: 14.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.5108, allocations: 305.6 kB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.5109, allocations: 33.7 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.511, allocations: 136.5 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.5111, allocations: 43.53 kB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.5111, allocations: 4 kB / 1.042 GB, free: 14.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5113, allocations: 338.8 kB / 1.043 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.5115, allocations: 95.94 kB / 1.043 GB, free: 13.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.5118, allocations: 158.2 kB / 1.043 GB, free: 13.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.512, allocations: 103.9 kB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.512, allocations: 4 kB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006134/0.5127, allocations: 320.7 kB / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5127, allocations: 8 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5127, allocations: 4 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.5127, allocations: 7.953 kB / 1.043 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.513, allocations: 51.91 kB / 1.043 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.513, allocations: 4.125 kB / 1.043 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5132, allocations: 35.83 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.5132, allocations: 15.98 kB / 1.043 GB, free: 12.87 MB / 0.698 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.0001856/0.5134, allocations: 161.4 kB / 1.043 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.5135, allocations: 19.72 kB / 1.043 GB, free: 12.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005364/0.514, allocations: 223.7 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.514, allocations: 7.953 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.514, allocations: 0 / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.514, allocations: 3.938 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.5149, allocations: 0.5685 MB / 1.044 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5149, allocations: 3.938 kB / 1.044 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.936e-05/0.5151, allocations: 23.94 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.5151, allocations: 3.984 kB / 1.044 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.5151, allocations: 15.98 kB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5151, allocations: 0 / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5151, allocations: 0 / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.5156, allocations: 309.5 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5158, allocations: 108.8 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.5158, allocations: 7.953 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.516, allocations: 15.98 kB / 1.045 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.516, allocations: 19.97 kB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.5161, allocations: 4 kB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002137/0.5163, allocations: 204.4 kB / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5163, allocations: 0 / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003493/0.5166, allocations: 59.91 kB / 1.045 GB, free: 11.02 MB / 0.698 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 (17): * Single equations (assignments): 12 * 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.001133/0.5178, allocations: 434.3 kB / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.5183, allocations: 201.2 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5183, allocations: 0 / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.5185, allocations: 79.89 kB / 1.046 GB, free: 10.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.5189, allocations: 48.2 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.5197, allocations: 447.2 kB / 1.046 GB, free: 9.965 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.5201, allocations: 0.7598 MB / 1.047 GB, free: 9.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.5203, allocations: 29.95 kB / 1.047 GB, free: 9.152 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.5204, allocations: 23.42 kB / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.5204, allocations: 0 / 1.047 GB, free: 9.129 MB / 0.698 GB Notification: Performance of Templates: time 0.006805/0.5272, allocations: 2.715 MB / 1.05 GB, free: 6.434 MB / 0.698 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 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches