Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.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.001272/0.001272, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001422/0.001422, allocations: 167.9 kB / 24.86 MB, free: 8.852 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 0.9396/0.9396, allocations: 177.1 MB / 205.3 MB, free: 5.137 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.846/1.846, allocations: 359 MB / 0.6063 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 177] 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.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.972e-05, allocations: 6.312 kB / 0.7883 GB, free: 12.21 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002443/0.002473, allocations: 0.8242 MB / 0.7891 GB, free: 11.41 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.00472, allocations: 1.331 MB / 0.7904 GB, free: 10.06 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.004807, allocations: 4 kB / 0.7904 GB, free: 10.06 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 4.033e-05/0.004847, allocations: 8.406 kB / 0.7904 GB, free: 10.05 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.004964, allocations: 24.62 kB / 0.7905 GB, free: 10.03 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009091/0.005873, allocations: 309.8 kB / 0.7908 GB, free: 9.727 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0004375/0.006311, allocations: 295.4 kB / 0.791 GB, free: 9.438 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.006445, allocations: 34.22 kB / 0.7911 GB, free: 9.402 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.006718, allocations: 163.3 kB / 0.7912 GB, free: 9.246 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.006945, allocations: 95.66 kB / 0.7913 GB, free: 9.152 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/0.007019, allocations: 28 kB / 0.7913 GB, free: 9.125 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.007122, allocations: 32 kB / 0.7914 GB, free: 9.094 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.00716, allocations: 23.91 kB / 0.7914 GB, free: 9.07 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.00727, allocations: 87.86 kB / 0.7915 GB, free: 8.984 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.007612, allocations: 223.3 kB / 0.7917 GB, free: 8.766 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.007617, allocations: 0 / 0.7917 GB, free: 8.766 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.683e-06/0.007619, allocations: 0 / 0.7917 GB, free: 8.766 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.007624, allocations: 0 / 0.7917 GB, free: 8.766 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006693/0.008294, allocations: 0.5525 MB / 0.7922 GB, free: 8.16 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.008331, allocations: 8.031 kB / 0.7922 GB, free: 8.152 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.008423, allocations: 30.5 kB / 0.7923 GB, free: 8.125 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.00867, allocations: 177.9 kB / 0.7924 GB, free: 7.926 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.008702, allocations: 16.36 kB / 0.7925 GB, free: 7.91 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.008745, allocations: 20.31 kB / 0.7925 GB, free: 7.891 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.008873, allocations: 84.67 kB / 0.7926 GB, free: 7.801 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.008882, allocations: 0 / 0.7926 GB, free: 7.801 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.008896, allocations: 11.98 kB / 0.7926 GB, free: 7.789 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.008901, allocations: 0 / 0.7926 GB, free: 7.789 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.688e-05/0.008948, allocations: 21.58 kB / 0.7926 GB, free: 7.77 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.00949, allocations: 411.9 kB / 0.793 GB, free: 7.34 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.00974, allocations: 59.08 kB / 0.793 GB, free: 7.27 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.009775, allocations: 28.45 kB / 0.7931 GB, free: 7.238 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.009782, allocations: 0 / 0.7931 GB, free: 7.238 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.009903, allocations: 98.8 kB / 0.7932 GB, free: 7.129 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.009905, allocations: 0 / 0.7932 GB, free: 7.129 MB / 0.7449 GB Notification: Performance of matching and sorting (n=14): time 0.0002397/0.01014, allocations: 145.7 kB / 0.7933 GB, free: 6.98 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.01019, allocations: 59.34 kB / 0.7934 GB, free: 6.91 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.01034, allocations: 212.3 kB / 0.7936 GB, free: 6.688 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.01038, allocations: 33.7 kB / 0.7936 GB, free: 6.648 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.01045, allocations: 163.9 kB / 0.7937 GB, free: 6.484 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.01047, allocations: 32.22 kB / 0.7938 GB, free: 6.453 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.496e-05/0.01057, allocations: 83.3 kB / 0.7939 GB, free: 6.363 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.01069, allocations: 0.4934 MB / 0.7943 GB, free: 5.859 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.01082, allocations: 153 kB / 0.7945 GB, free: 5.691 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.01097, allocations: 229 kB / 0.7947 GB, free: 5.422 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01116, allocations: 243.5 kB / 0.7949 GB, free: 5.141 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.01117, allocations: 0 / 0.7949 GB, free: 5.141 MB / 0.7449 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004463/0.01161, allocations: 453.4 kB / 0.7954 GB, free: 4.656 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.01168, allocations: 103.4 kB / 0.7955 GB, free: 4.539 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01168, allocations: 1.031 kB / 0.7955 GB, free: 4.539 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.01169, allocations: 7.938 kB / 0.7955 GB, free: 4.531 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.987e-05/0.01174, allocations: 15.92 kB / 0.7955 GB, free: 4.516 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.01175, allocations: 4.719 kB / 0.7955 GB, free: 4.512 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.01194, allocations: 56.88 kB / 0.7956 GB, free: 4.457 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.01197, allocations: 25.11 kB / 0.7956 GB, free: 4.434 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 9.649e-05/0.01207, allocations: 177.3 kB / 0.7957 GB, free: 4.25 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.01209, allocations: 15.95 kB / 0.7958 GB, free: 4.234 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.01211, allocations: 11 kB / 0.7958 GB, free: 4.23 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01212, allocations: 7.938 kB / 0.7958 GB, free: 4.223 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01212, allocations: 0 / 0.7958 GB, free: 4.223 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.01213, allocations: 3.984 kB / 0.7958 GB, free: 4.219 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.01223, allocations: 133.2 kB / 0.7959 GB, free: 4.062 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01223, allocations: 0 / 0.7959 GB, free: 4.062 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.01226, allocations: 14.8 kB / 0.7959 GB, free: 4.051 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01226, allocations: 0 / 0.7959 GB, free: 4.051 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.01227, allocations: 4 kB / 0.7959 GB, free: 4.047 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01227, allocations: 7.938 kB / 0.7959 GB, free: 4.039 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01227, allocations: 0 / 0.7959 GB, free: 4.039 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.0124, allocations: 160.2 kB / 0.7961 GB, free: 3.859 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.01241, allocations: 15.84 kB / 0.7961 GB, free: 3.844 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.01243, allocations: 7.984 kB / 0.7961 GB, free: 3.836 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.557e-05/0.01244, allocations: 5.562 kB / 0.7961 GB, free: 3.832 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.01247, allocations: 15.92 kB / 0.7961 GB, free: 3.816 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.01248, allocations: 0 / 0.7961 GB, free: 3.816 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.01252, allocations: 152.8 kB / 0.7963 GB, free: 3.668 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.01252, allocations: 0.625 kB / 0.7963 GB, free: 3.668 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001819/0.0127, allocations: 48 kB / 0.7963 GB, free: 3.621 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001306/0.01283, allocations: 103.4 kB / 0.7964 GB, free: 3.512 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.01315, allocations: 410.5 kB / 0.7968 GB, free: 3.055 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01315, allocations: 0 / 0.7968 GB, free: 3.055 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 4.79e-05/0.0132, allocations: 44.25 kB / 0.7969 GB, free: 3.008 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.0134, allocations: 30.33 kB / 0.7969 GB, free: 2.98 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.01375, allocations: 246.7 kB / 0.7971 GB, free: 2.711 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.01379, allocations: 71.33 kB / 0.7972 GB, free: 2.621 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.01383, allocations: 4.984 kB / 0.7972 GB, free: 2.613 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.01397, allocations: 126.1 kB / 0.7973 GB, free: 2.488 MB / 0.7449 GB Notification: Performance of SimCode: time 6.41e-07/0.01397, allocations: 0 / 0.7973 GB, free: 2.488 MB / 0.7449 GB Notification: Performance of Templates: time 0.004575/0.01855, allocations: 3.371 MB / 0.8006 GB, free: 15.21 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Switch.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.283550418913364]