Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002883/0.002883, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.924/2.924, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.868e-06/3.868e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.675e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00573/0.005767, allocations: 1.912 MB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.009152, allocations: 1.214 MB / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.009311, allocations: 0 / 0.7894 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.009754, allocations: 100.7 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.01027, allocations: 140.2 kB / 0.7897 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.01071, allocations: 140.2 kB / 0.7898 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.01115, allocations: 231.4 kB / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.0113, allocations: 25.8 kB / 0.7901 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.01157, allocations: 136.2 kB / 0.7902 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.01178, allocations: 92.86 kB / 0.7903 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.01182, allocations: 16 kB / 0.7903 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.01201, allocations: 59.89 kB / 0.7903 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.01211, allocations: 60.38 kB / 0.7904 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.0122, allocations: 56.45 kB / 0.7905 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.01269, allocations: 283 kB / 0.7907 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.01269, allocations: 4.891 kB / 0.7907 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01269, allocations: 0 / 0.7907 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.0127, allocations: 0 / 0.7907 GB, free: 8.355 MB / 0.7448 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.001222/0.01392, allocations: 489 kB / 0.7912 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.01397, allocations: 8.031 kB / 0.7912 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.01409, allocations: 28.8 kB / 0.7912 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.01457, allocations: 237 kB / 0.7915 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.01459, allocations: 7.938 kB / 0.7915 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.01463, allocations: 15.98 kB / 0.7915 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.015, allocations: 115.5 kB / 0.7916 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.01501, allocations: 0 / 0.7916 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.01503, allocations: 8.594 kB / 0.7916 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.01503, allocations: 0 / 0.7916 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.01535, allocations: 94.11 kB / 0.7917 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008443/0.0162, allocations: 372.3 kB / 0.792 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.01659, allocations: 124.1 kB / 0.7922 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.01678, allocations: 58.41 kB / 0.7922 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.0168, allocations: 0 / 0.7922 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.01712, allocations: 123.3 kB / 0.7923 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.01712, allocations: 0.625 kB / 0.7923 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0007952/0.01792, allocations: 271.2 kB / 0.7926 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.01797, allocations: 51.41 kB / 0.7926 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.01844, allocations: 342.4 kB / 0.793 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.01848, allocations: 37.69 kB / 0.793 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.01861, allocations: 141.2 kB / 0.7931 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.01867, allocations: 39.69 kB / 0.7932 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.01879, allocations: 58.91 kB / 0.7932 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.01899, allocations: 338.8 kB / 0.7936 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.01922, allocations: 84.58 kB / 0.7936 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.0195, allocations: 134.2 kB / 0.7938 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.01997, allocations: 189.5 kB / 0.7939 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.01998, allocations: 0 / 0.7939 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007071/0.02069, allocations: 295.2 kB / 0.7942 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.02071, allocations: 9 kB / 0.7942 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.02072, allocations: 0 / 0.7942 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.02075, allocations: 7.938 kB / 0.7942 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.02099, allocations: 48.75 kB / 0.7943 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.021, allocations: 0 / 0.7943 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.02118, allocations: 30.12 kB / 0.7943 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.02122, allocations: 12 kB / 0.7943 GB, free: 4.488 MB / 0.7448 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.0002023/0.02142, allocations: 161.5 kB / 0.7945 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.02149, allocations: 31.81 kB / 0.7945 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/0.02208, allocations: 220.6 kB / 0.7947 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.02209, allocations: 3.938 kB / 0.7947 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.0221, allocations: 0 / 0.7947 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.0221, allocations: 0 / 0.7947 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009738/0.02307, allocations: 495.7 kB / 0.7952 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.02308, allocations: 3.938 kB / 0.7952 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.02318, allocations: 20.42 kB / 0.7952 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.02319, allocations: 0.5 kB / 0.7952 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.02321, allocations: 11.94 kB / 0.7952 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.02321, allocations: 0.5625 kB / 0.7952 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.02321, allocations: 5.359 kB / 0.7952 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.02381, allocations: 306.2 kB / 0.7955 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.02386, allocations: 32.33 kB / 0.7956 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.0239, allocations: 7.984 kB / 0.7956 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.02406, allocations: 13.11 kB / 0.7956 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.02414, allocations: 19.97 kB / 0.7956 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.02415, allocations: 4.656 kB / 0.7956 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003015/0.02445, allocations: 217.2 kB / 0.7958 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02445, allocations: 1.062 kB / 0.7958 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003667/0.02482, allocations: 55.83 kB / 0.7959 GB, free: 2.855 MB / 0.7448 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 (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.002084/0.02691, allocations: 447.2 kB / 0.7963 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005505/0.02746, allocations: 184.4 kB / 0.7965 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02746, allocations: 0 / 0.7965 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.02768, allocations: 63.95 kB / 0.7965 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.02814, allocations: 70.34 kB / 0.7966 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.02901, allocations: 435.8 kB / 0.797 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001743/0.02918, allocations: 145.2 kB / 0.7972 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001156/0.0293, allocations: 33.92 kB / 0.7972 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.02938, allocations: 28.5 kB / 0.7972 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of SimCode: time 1.182e-06/0.02938, allocations: 4 kB / 0.7972 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of Templates: time 0.008591/0.03797, allocations: 3.3 MB / 0.8004 GB, free: 14.39 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.313325079972856]