Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001298/0.001298, 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.001037/0.001037, allocations: 166 kB / 24.86 MB, free: 9.203 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.877/1.877, allocations: 359 MB / 0.6063 GB, free: 10.91 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.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.[0-9,]+.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.[0-9,]+.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/3.015e-05, allocations: 2.938 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001945/0.001975, allocations: 1.108 MB / 0.7894 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.00376, allocations: 1.562 MB / 0.7909 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.003876, allocations: 5.25 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.004014, allocations: 35.55 kB / 0.791 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.004115, allocations: 75.36 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.004933, allocations: 480.5 kB / 0.7915 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.005426, allocations: 0.5932 MB / 0.7921 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.005641, allocations: 96.98 kB / 0.7922 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.005968, allocations: 360.6 kB / 0.7925 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.006167, allocations: 157.1 kB / 0.7927 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.006224, allocations: 48 kB / 0.7927 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.006332, allocations: 60.64 kB / 0.7928 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.006404, allocations: 63.77 kB / 0.7928 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.00654, allocations: 161.2 kB / 0.793 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.006908, allocations: 382.8 kB / 0.7933 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.006912, allocations: 0 / 0.7933 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006913, allocations: 0 / 0.7933 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.006919, allocations: 4.875 kB / 0.7933 GB, free: 7.062 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007102/0.007629, allocations: 0.7709 MB / 0.7941 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.007668, allocations: 8.031 kB / 0.7941 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.16e-05/0.007759, allocations: 68.7 kB / 0.7942 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.008046, allocations: 279.4 kB / 0.7944 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.008077, allocations: 24.88 kB / 0.7945 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.008122, allocations: 40.36 kB / 0.7945 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.008368, allocations: 301.8 kB / 0.7948 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.008376, allocations: 192 / 0.7948 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.008393, allocations: 8.375 kB / 0.7948 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.0084, allocations: 5.094 kB / 0.7948 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.097e-05/0.008481, allocations: 75.38 kB / 0.7949 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007957/0.009277, allocations: 0.6752 MB / 0.7955 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.009452, allocations: 120.7 kB / 0.7956 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.009514, allocations: 59.66 kB / 0.7957 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.009523, allocations: 0 / 0.7957 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.009767, allocations: 314.8 kB / 0.796 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.009769, allocations: 0 / 0.796 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0003733/0.01014, allocations: 276.8 kB / 0.7963 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.01021, allocations: 110.8 kB / 0.7964 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.01046, allocations: 365.9 kB / 0.7967 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.0105, allocations: 45.64 kB / 0.7968 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01063, allocations: 224.5 kB / 0.797 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.01067, allocations: 63.5 kB / 0.797 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.01082, allocations: 159.5 kB / 0.7972 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01097, allocations: 0.5201 MB / 0.7977 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.01116, allocations: 235.6 kB / 0.7979 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.01143, allocations: 457.3 kB / 0.7984 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.01177, allocations: 448.1 kB / 0.7988 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.01178, allocations: 7.938 kB / 0.7988 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006881/0.01247, allocations: 0.7198 MB / 0.7995 GB, free: 208 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.01255, allocations: 130.8 kB / 0.7996 GB, free: 52 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.01256, allocations: 7.984 kB / 0.7996 GB, free: 44 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.01258, allocations: 4 kB / 0.7996 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.01275, allocations: 60.88 kB / 0.7997 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.01275, allocations: 7.938 kB / 0.7997 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.01307, allocations: 102 kB / 0.7998 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.01316, allocations: 67.86 kB / 0.7999 GB, free: 15.81 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2],extIndInt.u[4],conInt2.y,conInt3.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001814/0.01334, allocations: 211.8 kB / 0.8001 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.01339, allocations: 51.75 kB / 0.8001 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.01375, allocations: 249.4 kB / 0.8003 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.01375, allocations: 4 kB / 0.8004 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01376, allocations: 4.438 kB / 0.8004 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.01376, allocations: 4.547 kB / 0.8004 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005997/0.01436, allocations: 0.5619 MB / 0.8009 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01437, allocations: 1.406 kB / 0.8009 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.01446, allocations: 31.98 kB / 0.8009 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01446, allocations: 0 / 0.8009 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.01447, allocations: 8.531 kB / 0.801 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01448, allocations: 3.984 kB / 0.801 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01448, allocations: 4.844 kB / 0.801 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.01478, allocations: 389.8 kB / 0.8013 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.01481, allocations: 36.41 kB / 0.8014 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.01484, allocations: 7.953 kB / 0.8014 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.01493, allocations: 16.58 kB / 0.8014 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.01498, allocations: 19.97 kB / 0.8014 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.015, allocations: 18.02 kB / 0.8014 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001432/0.01514, allocations: 210.9 kB / 0.8016 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01514, allocations: 0 / 0.8016 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003334/0.01547, allocations: 99.92 kB / 0.8017 GB, free: 13.85 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002059/0.01568, allocations: 122.8 kB / 0.8018 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005202/0.0162, allocations: 0.6343 MB / 0.8025 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.0162, allocations: 0 / 0.8025 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.987e-05/0.01629, allocations: 91.5 kB / 0.8025 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.01666, allocations: 94.97 kB / 0.8026 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/0.01734, allocations: 0.5084 MB / 0.8031 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.602e-05/0.0174, allocations: 94 kB / 0.8032 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.0175, allocations: 47.83 kB / 0.8033 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.01778, allocations: 198.1 kB / 0.8035 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of SimCode: time 1.543e-06/0.01778, allocations: 0 / 0.8035 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of Templates: time 0.008791/0.02657, allocations: 6.434 MB / 0.8097 GB, free: 5.664 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.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.261630116961896]