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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00885/0.00885, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.002231/0.002231, allocations: 193 kB / 16.67 MB, free: 5.969 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.92 kB / 0.9509 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003352/0.3713, allocations: 1.92 MB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3732, allocations: 1.115 MB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.3733, allocations: 7.875 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.3737, allocations: 95.62 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.374, allocations: 107.5 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.3745, allocations: 161.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.3747, allocations: 211.5 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001758/0.3749, allocations: 53.62 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.3751, allocations: 111.5 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3753, allocations: 103.6 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.3753, allocations: 12 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3754, allocations: 55.97 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.982e-05/0.3755, allocations: 63.75 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.895e-05/0.3756, allocations: 83.42 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.376, allocations: 267.1 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.376, allocations: 3.938 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.376, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3761, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 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.001049/0.3771, allocations: 0.5452 MB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3772, allocations: 8.031 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.3773, allocations: 28.66 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.3777, allocations: 283.3 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3777, allocations: 11.94 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3778, allocations: 12 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.3781, allocations: 118.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3781, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3781, allocations: 7.938 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3781, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.3784, allocations: 87.92 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.3792, allocations: 456.3 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.3795, allocations: 130.6 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3797, allocations: 56.77 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3797, allocations: 4 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.38, allocations: 123.5 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.874e-06/0.3801, allocations: 0 / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0006483/0.3807, allocations: 249.2 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.3808, allocations: 59.34 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/0.3811, allocations: 334.4 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3811, allocations: 33.7 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.3812, allocations: 136.4 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.3813, allocations: 39.55 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-05/0.3814, allocations: 61.59 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3815, allocations: 338.8 kB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.3817, allocations: 79.95 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.382, allocations: 138.6 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.3823, allocations: 187.8 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3823, allocations: 4 kB / 1.096 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005073/0.3828, allocations: 277.1 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3829, allocations: 4.156 kB / 1.096 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3829, allocations: 4 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.3829, allocations: 4 kB / 1.096 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.3831, allocations: 43.91 kB / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3831, allocations: 0 / 1.096 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3833, allocations: 23.89 kB / 1.096 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.3833, allocations: 8 kB / 1.096 GB, free: 9.027 MB / 0.8575 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.0001433/0.3835, allocations: 165.7 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.3835, allocations: 23.75 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.3836, allocations: 22.19 kB / 1.096 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3836, allocations: 4 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3836, allocations: 3.984 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3836, allocations: 0 / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.3844, allocations: 0.551 MB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3844, allocations: 0 / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.3845, allocations: 23.92 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3845, allocations: 0 / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3845, allocations: 8 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3845, allocations: 7.938 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3845, allocations: 0 / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.385, allocations: 287.1 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.3851, allocations: 108.8 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.3851, allocations: 0 / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3853, allocations: 19.97 kB / 1.097 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/0.3853, allocations: 15.98 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3854, allocations: 4 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001996/0.3856, allocations: 213.9 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.886e-06/0.3856, allocations: 0 / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000322/0.3859, allocations: 55.84 kB / 1.097 GB, free: 7.438 MB / 0.8575 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.001053/0.387, allocations: 427.1 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.3874, allocations: 182.2 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3874, allocations: 0 / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.3876, allocations: 71.95 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.3881, allocations: 59.58 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007165/0.3888, allocations: 400.3 kB / 1.098 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.3891, allocations: 0.7479 MB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.881e-05/0.3892, allocations: 29.95 kB / 1.099 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.3893, allocations: 31.36 kB / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3893, allocations: 0 / 1.099 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of Templates: time 0.006602/0.3959, allocations: 3.034 MB / 1.102 GB, free: 2.602 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches