Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001631/0.001631, allocations: 105.6 kB / 16.35 MB, free: 6.34 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.001647/0.001647, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 64.59 kB / 0.8707 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.36, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003288/0.3633, allocations: 1.938 MB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3651, allocations: 1.123 MB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3653, allocations: 7.938 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.3657, allocations: 87.62 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.366, allocations: 107.5 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.3664, allocations: 155.6 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3667, allocations: 211.5 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.3669, allocations: 49.64 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.3671, allocations: 95.56 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3672, allocations: 111.6 kB / 1.023 GB, free: 5.941 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3673, allocations: 16 kB / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3674, allocations: 47.98 kB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.537e-05/0.3675, allocations: 59.77 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.3677, allocations: 99.39 kB / 1.023 GB, free: 5.723 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.3681, allocations: 263.1 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3681, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3681, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3681, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 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.001072/0.3692, allocations: 0.5452 MB / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.3692, allocations: 8.922 kB / 1.024 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.3693, allocations: 24.66 kB / 1.024 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.3698, allocations: 287.4 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.3698, allocations: 8 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.3698, allocations: 11.94 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.3702, allocations: 118.9 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3702, allocations: 4 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.3702, allocations: 11.92 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3702, allocations: 4 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.3705, allocations: 79.92 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007851/0.3713, allocations: 456.3 kB / 1.025 GB, free: 3.789 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.3717, allocations: 126.7 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.3718, allocations: 56.81 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.3719, allocations: 7.938 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.3721, allocations: 129.1 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 3.456e-06/0.3722, allocations: 0 / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0006402/0.3728, allocations: 245.3 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3729, allocations: 59.41 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.3732, allocations: 322.6 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3732, allocations: 37.7 kB / 1.025 GB, free: 2.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3733, allocations: 148.2 kB / 1.026 GB, free: 2.621 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.3734, allocations: 39.55 kB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.3735, allocations: 57.59 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3736, allocations: 338.8 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3738, allocations: 79.95 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.374, allocations: 142.1 kB / 1.026 GB, free: 1.945 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.3744, allocations: 183.1 kB / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3744, allocations: 3.938 kB / 1.026 GB, free: 1.746 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005142/0.3749, allocations: 279.4 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3749, allocations: 4 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.375, allocations: 4 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.375, allocations: 4.156 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.3752, allocations: 43.91 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3752, allocations: 4 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3754, allocations: 19.97 kB / 1.027 GB, free: 1.391 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.3754, allocations: 12 kB / 1.027 GB, free: 1.379 MB / 0.795 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.0001558/0.3756, allocations: 154.4 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.3756, allocations: 27.66 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.615e-05/0.3757, allocations: 30.17 kB / 1.027 GB, free: 1.164 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3757, allocations: 3.984 kB / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3757, allocations: 0 / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3757, allocations: 0 / 1.027 GB, free: 1.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007989/0.3765, allocations: 0.5589 MB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3765, allocations: 0 / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.3766, allocations: 15.92 kB / 1.028 GB, free: 0.5312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3766, allocations: 4 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3766, allocations: 11.94 kB / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.3767, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3767, allocations: 0 / 1.028 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.3771, allocations: 287.1 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.3772, allocations: 108.8 kB / 1.028 GB, free: 96 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.3772, allocations: 11.94 kB / 1.028 GB, free: 84 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.3774, allocations: 11.98 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.3775, allocations: 15.98 kB / 1.028 GB, free: 56 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.3775, allocations: 7.984 kB / 1.028 GB, free: 48 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002074/0.3777, allocations: 210 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3777, allocations: 0 / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003201/0.378, allocations: 51.92 kB / 1.028 GB, free: 15.79 MB / 0.8106 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.001029/0.3791, allocations: 421.7 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.3795, allocations: 187.7 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3796, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.3797, allocations: 71.91 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3802, allocations: 58.48 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.3809, allocations: 404.2 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.3812, allocations: 0.748 MB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 9.798e-05/0.3813, allocations: 41.92 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.3814, allocations: 27.42 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3814, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.006764/0.3882, allocations: 3.005 MB / 1.033 GB, free: 10.98 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches