Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.006885/0.006885, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001718/0.001718, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.393/1.393, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.682/2.682, allocations: 461.8 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.44 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00357/0.3417, allocations: 1.974 MB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.3435, allocations: 1.115 MB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.3437, allocations: 0 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.3441, allocations: 87.7 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.3445, allocations: 83.7 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.345, allocations: 135.8 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.3453, allocations: 199.4 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.3455, allocations: 49.64 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.3456, allocations: 83.62 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3458, allocations: 103.6 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.3458, allocations: 8 kB / 1.057 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.346, allocations: 47.97 kB / 1.057 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.654e-05/0.3461, allocations: 59.7 kB / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3462, allocations: 91.39 kB / 1.057 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.3465, allocations: 195.9 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3465, allocations: 4 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3465, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.3465, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 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.0009908/0.3475, allocations: 0.5414 MB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3475, allocations: 11.97 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.3476, allocations: 24.66 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.348, allocations: 299.3 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3481, allocations: 8 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.3481, allocations: 8 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.3484, allocations: 114.4 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3484, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.3485, allocations: 11.94 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3485, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.3488, allocations: 91.86 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.3496, allocations: 440.5 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.35, allocations: 142.5 kB / 1.059 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.3502, allocations: 56.83 kB / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.3502, allocations: 0 / 1.059 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.3505, allocations: 139.2 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3505, allocations: 0 / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0006723/0.3512, allocations: 246.7 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3513, allocations: 59.41 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.3516, allocations: 322.6 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3516, allocations: 33.7 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3518, allocations: 144.3 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.3518, allocations: 35.55 kB / 1.06 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.361e-05/0.3519, allocations: 57.61 kB / 1.06 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.352, allocations: 338.8 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.3523, allocations: 83.94 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3525, allocations: 133.1 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.3529, allocations: 188 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.3529, allocations: 3.938 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005634/0.3535, allocations: 277.1 kB / 1.061 GB, free: 88 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3535, allocations: 4 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3535, allocations: 4 kB / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3535, allocations: 0 / 1.061 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.3537, allocations: 48.06 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3538, allocations: 7.938 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.3539, allocations: 19.92 kB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.771e-05/0.354, allocations: 12.08 kB / 1.061 GB, free: 15.99 MB / 0.8262 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.0001505/0.3541, allocations: 165.5 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.3542, allocations: 27.66 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.793e-05/0.3543, allocations: 26.17 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3543, allocations: 4 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3543, allocations: 0 / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3543, allocations: 0 / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008221/0.3551, allocations: 0.5488 MB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3551, allocations: 4 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.3552, allocations: 11.98 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3552, allocations: 4 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.3553, allocations: 11.98 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3553, allocations: 0 / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3553, allocations: 3.984 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.3558, allocations: 297.5 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.3558, allocations: 100.8 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.3559, allocations: 4 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.356, allocations: 19.97 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.3561, allocations: 15.98 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3561, allocations: 11.98 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002105/0.3564, allocations: 206 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3564, allocations: 0 / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003383/0.3567, allocations: 47.94 kB / 1.062 GB, free: 14.4 MB / 0.8262 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.0009973/0.3577, allocations: 432 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.3582, allocations: 181.8 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3582, allocations: 0 / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.3584, allocations: 71.89 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.3588, allocations: 58.3 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.3596, allocations: 483.6 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.3599, allocations: 0.7443 MB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.36, allocations: 31.42 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.36, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.005745/0.3658, allocations: 3.24 MB / 1.067 GB, free: 9.293 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches