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.001061/0.001061, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001044/0.001044, allocations: 185.3 kB / 24.09 MB, free: 416 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 0.9372/0.9372, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.739/1.739, allocations: 359 MB / 0.6055 GB, free: 10.89 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.454e-06/2.454e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.418e-05, allocations: 8.844 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002696/0.00273, allocations: 1.103 MB / 0.7886 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.005108, allocations: 1.558 MB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.005312, allocations: 8.688 kB / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.005466, allocations: 31.61 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.005635, allocations: 76.69 kB / 0.7903 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.006762, allocations: 479 kB / 0.7907 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0008048/0.007567, allocations: 0.5946 MB / 0.7913 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.007888, allocations: 97.55 kB / 0.7914 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006039/0.008492, allocations: 355.4 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.008822, allocations: 150.9 kB / 0.7919 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.008924, allocations: 48 kB / 0.7919 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.009036, allocations: 63.92 kB / 0.792 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.009105, allocations: 63.77 kB / 0.7921 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.009236, allocations: 156.6 kB / 0.7922 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.009748, allocations: 394.7 kB / 0.7926 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.009751, allocations: 0 / 0.7926 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.623e-06/0.009753, allocations: 0.8438 kB / 0.7926 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.009761, allocations: 0 / 0.7926 GB, free: 7.043 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.0009226/0.01068, allocations: 0.7725 MB / 0.7933 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.01074, allocations: 12.59 kB / 0.7934 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.01088, allocations: 64.7 kB / 0.7934 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.0113, allocations: 276.7 kB / 0.7937 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.01134, allocations: 28.86 kB / 0.7937 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.01141, allocations: 36.38 kB / 0.7937 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.01176, allocations: 307.3 kB / 0.794 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01177, allocations: 192 / 0.794 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.01179, allocations: 16.36 kB / 0.794 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.0118, allocations: 4.375 kB / 0.7941 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.01191, allocations: 72.56 kB / 0.7941 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01297, allocations: 0.6727 MB / 0.7948 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.01317, allocations: 120.9 kB / 0.7949 GB, free: 4.523 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.01325, allocations: 63.64 kB / 0.795 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.01326, allocations: 4 kB / 0.795 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.0135, allocations: 305.7 kB / 0.7952 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 1.623e-06/0.0135, allocations: 0.7188 kB / 0.7953 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.0004673/0.01397, allocations: 277.3 kB / 0.7955 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.01405, allocations: 112.5 kB / 0.7956 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.01434, allocations: 357.9 kB / 0.796 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.0144, allocations: 41.7 kB / 0.796 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.01455, allocations: 235.4 kB / 0.7962 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.0146, allocations: 60.66 kB / 0.7963 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.01481, allocations: 159.5 kB / 0.7964 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.01498, allocations: 0.5195 MB / 0.7969 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.01525, allocations: 240.6 kB / 0.7972 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.0156, allocations: 464.7 kB / 0.7976 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.01604, allocations: 440.3 kB / 0.798 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.01604, allocations: 0 / 0.798 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008531/0.01689, allocations: 0.7219 MB / 0.7987 GB, free: 188 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/0.01699, allocations: 137.2 kB / 0.7989 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.017, allocations: 4 kB / 0.7989 GB, free: 24 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.01702, allocations: 8.531 kB / 0.7989 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01722, allocations: 56.53 kB / 0.7989 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.01723, allocations: 11.94 kB / 0.799 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.01762, allocations: 102 kB / 0.799 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.01771, allocations: 59.92 kB / 0.7991 GB, free: 15.79 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.0001813/0.01789, allocations: 219.4 kB / 0.7993 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.01794, allocations: 43.77 kB / 0.7994 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.01829, allocations: 249.9 kB / 0.7996 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.0183, allocations: 4 kB / 0.7996 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.0183, allocations: 0.875 kB / 0.7996 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.01831, allocations: 7.984 kB / 0.7996 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006433/0.01895, allocations: 0.5634 MB / 0.8002 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01895, allocations: 0 / 0.8002 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.01906, allocations: 35.92 kB / 0.8002 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.01906, allocations: 4 kB / 0.8002 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.01908, allocations: 7.984 kB / 0.8002 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.01908, allocations: 4.562 kB / 0.8002 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01909, allocations: 7.422 kB / 0.8002 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.01944, allocations: 393.8 kB / 0.8006 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.01948, allocations: 27.75 kB / 0.8006 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.01951, allocations: 11.95 kB / 0.8006 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01963, allocations: 11.98 kB / 0.8006 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01968, allocations: 27.94 kB / 0.8007 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.01969, allocations: 8 kB / 0.8007 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001457/0.01984, allocations: 218.9 kB / 0.8009 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2e-07/0.01984, allocations: 0 / 0.8009 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004432/0.02028, allocations: 91.94 kB / 0.801 GB, free: 13.83 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.0001893/0.02047, allocations: 127.3 kB / 0.8011 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005365/0.02101, allocations: 0.6241 MB / 0.8017 GB, free: 13 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.02101, allocations: 3.938 kB / 0.8017 GB, free: 13 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.02113, allocations: 92.31 kB / 0.8018 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.02159, allocations: 88.59 kB / 0.8019 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.02218, allocations: 0.5109 MB / 0.8024 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.044e-05/0.02225, allocations: 90 kB / 0.8025 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.02238, allocations: 45.23 kB / 0.8025 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.02276, allocations: 198.1 kB / 0.8027 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of SimCode: time 1.483e-06/0.02276, allocations: 0 / 0.8027 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of Templates: time 0.01155/0.03431, allocations: 6.325 MB / 0.8089 GB, free: 5.77 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.047963153105229]