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.001503/0.001503, allocations: 79.73 kB / 20.98 MB, free: 3.555 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.001863/0.001863, allocations: 165 kB / 24.28 MB, free: 264 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.087/1.087, 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.889/1.889, allocations: 359 MB / 0.6055 GB, free: 10.97 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.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 3.266e-06/3.266e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.718e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002605/0.002643, allocations: 1.123 MB / 0.7882 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002274/0.004917, allocations: 1.563 MB / 0.7897 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.005064, allocations: 7.938 kB / 0.7897 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.005234, allocations: 27.61 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.005392, allocations: 65.06 kB / 0.7898 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.006535, allocations: 482.9 kB / 0.7903 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006901/0.007225, allocations: 0.5952 MB / 0.7909 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.007517, allocations: 92.98 kB / 0.791 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004247/0.007941, allocations: 339.4 kB / 0.7913 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.008216, allocations: 167.5 kB / 0.7914 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.855e-05/0.008304, allocations: 60 kB / 0.7915 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.008446, allocations: 71.98 kB / 0.7916 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.008547, allocations: 85.83 kB / 0.7917 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.008757, allocations: 171.6 kB / 0.7918 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.00933, allocations: 434.8 kB / 0.7922 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.009335, allocations: 3.938 kB / 0.7922 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.093e-06/0.009337, allocations: 0 / 0.7922 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.009345, allocations: 0 / 0.7922 GB, free: 7.504 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.001005/0.01035, allocations: 0.7731 MB / 0.793 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.01041, allocations: 8.031 kB / 0.793 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.01056, allocations: 68.69 kB / 0.7931 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008285/0.01139, allocations: 325.6 kB / 0.7934 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/0.01144, allocations: 24.88 kB / 0.7934 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/0.01151, allocations: 45.59 kB / 0.7934 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.01197, allocations: 341.8 kB / 0.7938 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.01198, allocations: 192 / 0.7938 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.01201, allocations: 14.84 kB / 0.7938 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.01203, allocations: 8.125 kB / 0.7938 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.01223, allocations: 114.9 kB / 0.7939 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.01345, allocations: 0.7315 MB / 0.7946 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.01374, allocations: 156 kB / 0.7948 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.01387, allocations: 91.62 kB / 0.7949 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.01389, allocations: 4.531 kB / 0.7949 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.01424, allocations: 339.1 kB / 0.7952 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 2.705e-06/0.01424, allocations: 0 / 0.7952 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0006342/0.01488, allocations: 363.9 kB / 0.7955 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.01495, allocations: 111.9 kB / 0.7956 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.01528, allocations: 370 kB / 0.796 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-05/0.01533, allocations: 41.7 kB / 0.796 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.0155, allocations: 228.6 kB / 0.7962 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.01557, allocations: 63.58 kB / 0.7963 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.01578, allocations: 151.6 kB / 0.7964 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.01597, allocations: 0.5157 MB / 0.797 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.01636, allocations: 288.9 kB / 0.7972 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004711/0.01683, allocations: 0.493 MB / 0.7977 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.0174, allocations: 0.4915 MB / 0.7982 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.01741, allocations: 0.875 kB / 0.7982 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001123/0.01853, allocations: 0.8084 MB / 0.799 GB, free: 40 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.01864, allocations: 122.8 kB / 0.7991 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.01865, allocations: 11.09 kB / 0.7991 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.01868, allocations: 4 kB / 0.7991 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.01889, allocations: 59.91 kB / 0.7992 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.0189, allocations: 4 kB / 0.7992 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.01935, allocations: 104.2 kB / 0.7993 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.01947, allocations: 73.8 kB / 0.7993 GB, free: 15.65 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,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],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]) * 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.000224/0.01969, allocations: 209.2 kB / 0.7995 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.01976, allocations: 48.61 kB / 0.7996 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005035/0.02027, allocations: 313.1 kB / 0.7999 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.02027, allocations: 6.812 kB / 0.7999 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.02028, allocations: 0 / 0.7999 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.02028, allocations: 3.984 kB / 0.7999 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.02118, allocations: 0.6585 MB / 0.8005 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.02119, allocations: 4 kB / 0.8005 GB, free: 14.37 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.02131, allocations: 35.98 kB / 0.8006 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.02131, allocations: 2.312 kB / 0.8006 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.02134, allocations: 15.92 kB / 0.8006 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.02134, allocations: 0 / 0.8006 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.02134, allocations: 0 / 0.8006 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.02181, allocations: 441.8 kB / 0.801 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.02186, allocations: 35.73 kB / 0.8011 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.0219, allocations: 8.938 kB / 0.8011 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.02203, allocations: 11.94 kB / 0.8011 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.02209, allocations: 27.89 kB / 0.8011 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.02212, allocations: 13.12 kB / 0.8011 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001892/0.02231, allocations: 227 kB / 0.8013 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.02231, allocations: 0 / 0.8013 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004898/0.0228, allocations: 96.98 kB / 0.8014 GB, free: 13.46 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.0002325/0.02303, allocations: 122.7 kB / 0.8015 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008066/0.02383, allocations: 0.6898 MB / 0.8022 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.02384, allocations: 0.5 kB / 0.8022 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.02399, allocations: 124.8 kB / 0.8023 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.02448, allocations: 89.09 kB / 0.8024 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008252/0.02531, allocations: 0.5353 MB / 0.8029 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.909e-05/0.02539, allocations: 94 kB / 0.803 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.02553, allocations: 67.22 kB / 0.8031 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.204e-05/0.02559, allocations: 36.48 kB / 0.8031 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of SimCode: time 1.112e-06/0.0256, allocations: 0 / 0.8031 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of Templates: time 0.01052/0.03611, allocations: 5.902 MB / 0.8089 GB, free: 5.828 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.478837260976434]