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.00114/0.00114, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001699/0.001699, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.085/1.085, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.86/1.86, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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 2.124e-06/2.124e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.122e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002654/0.002685, allocations: 1.97 MB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.004317, allocations: 1.249 MB / 0.7902 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.00444, allocations: 3.938 kB / 0.7903 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.004824, allocations: 88.67 kB / 0.7903 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.005173, allocations: 148 kB / 0.7905 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.005445, allocations: 131.5 kB / 0.7906 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.005713, allocations: 224.3 kB / 0.7908 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.005878, allocations: 41.77 kB / 0.7909 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.006043, allocations: 127.6 kB / 0.791 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.006172, allocations: 98.06 kB / 0.7911 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.006199, allocations: 16 kB / 0.7911 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.006316, allocations: 51.92 kB / 0.7911 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.915e-05/0.006396, allocations: 67.75 kB / 0.7912 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.006462, allocations: 55.83 kB / 0.7913 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.006817, allocations: 191.2 kB / 0.7914 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006821, allocations: 1.844 kB / 0.7914 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.522e-06/0.006823, allocations: 0 / 0.7914 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.006828, allocations: 0 / 0.7914 GB, free: 8.348 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.0006814/0.00751, allocations: 0.5734 MB / 0.792 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.007566, allocations: 8.75 kB / 0.792 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.007649, allocations: 36.8 kB / 0.792 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.007968, allocations: 216.3 kB / 0.7922 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.007994, allocations: 17.58 kB / 0.7923 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.008011, allocations: 8 kB / 0.7923 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.008218, allocations: 106.3 kB / 0.7924 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.008226, allocations: 0 / 0.7924 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.00824, allocations: 4.562 kB / 0.7924 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.008249, allocations: 4.438 kB / 0.7924 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.023e-05/0.008329, allocations: 46.66 kB / 0.7924 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.008898, allocations: 420.7 kB / 0.7928 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.009074, allocations: 91.16 kB / 0.7929 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/0.009124, allocations: 29.05 kB / 0.7929 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.009141, allocations: 7.938 kB / 0.793 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.009298, allocations: 110.7 kB / 0.7931 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.825e-06/0.009301, allocations: 0 / 0.7931 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000316/0.009617, allocations: 176.5 kB / 0.7932 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.00966, allocations: 55.41 kB / 0.7933 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/0.009891, allocations: 329.4 kB / 0.7936 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.009909, allocations: 33.7 kB / 0.7936 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.626e-05/0.009996, allocations: 183.3 kB / 0.7938 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.01003, allocations: 49.05 kB / 0.7938 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.0101, allocations: 63.36 kB / 0.7939 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.01023, allocations: 0.5079 MB / 0.7944 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.747e-05/0.0103, allocations: 31.97 kB / 0.7944 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.647e-05/0.0104, allocations: 99.53 kB / 0.7945 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.01054, allocations: 134.9 kB / 0.7947 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01055, allocations: 4 kB / 0.7947 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002391/0.01079, allocations: 193.3 kB / 0.7948 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.0108, allocations: 4.5 kB / 0.7948 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01081, allocations: 8.484 kB / 0.7949 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01083, allocations: 5.875 kB / 0.7949 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.01098, allocations: 43.92 kB / 0.7949 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.01098, allocations: 0 / 0.7949 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.01106, allocations: 23.88 kB / 0.7949 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.01108, allocations: 12 kB / 0.7949 GB, free: 4.531 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.0001036/0.01118, allocations: 186.8 kB / 0.7951 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.01121, allocations: 27.86 kB / 0.7951 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.01144, allocations: 157.5 kB / 0.7953 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.01145, allocations: 7.938 kB / 0.7953 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01145, allocations: 0 / 0.7953 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01146, allocations: 4.781 kB / 0.7953 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.01191, allocations: 0.4896 MB / 0.7958 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01191, allocations: 4.781 kB / 0.7958 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.01196, allocations: 15.98 kB / 0.7958 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.01196, allocations: 1.281 kB / 0.7958 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01197, allocations: 4 kB / 0.7958 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.01198, allocations: 4 kB / 0.7958 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01198, allocations: 0.8438 kB / 0.7958 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.0122, allocations: 314 kB / 0.7961 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.01222, allocations: 28.44 kB / 0.7961 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.01225, allocations: 8 kB / 0.7961 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.01232, allocations: 10.83 kB / 0.7962 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.01239, allocations: 19.97 kB / 0.7962 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.0124, allocations: 8 kB / 0.7962 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000121/0.01252, allocations: 209.1 kB / 0.7964 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01252, allocations: 0 / 0.7964 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00023/0.01275, allocations: 47.94 kB / 0.7964 GB, free: 2.941 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.00102/0.01377, allocations: 395 kB / 0.7968 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.014, allocations: 123.6 kB / 0.7969 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.014, allocations: 0 / 0.7969 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.33e-05/0.01407, allocations: 61.78 kB / 0.797 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.01439, allocations: 66.16 kB / 0.797 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.01495, allocations: 366.8 kB / 0.7974 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.015, allocations: 92.62 kB / 0.7975 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.41e-05/0.01508, allocations: 37.92 kB / 0.7975 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.01514, allocations: 24.5 kB / 0.7975 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/0.01514, allocations: 0 / 0.7975 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of Templates: time 0.00596/0.0211, allocations: 3.308 MB / 0.8008 GB, free: 14.64 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.394405571045354]