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.001437/0.001437, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001365/0.001365, allocations: 165 kB / 23.82 MB, free: 0.75 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.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.793/1.793, allocations: 359 MB / 0.6052 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.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.956e-06/2.956e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.17e-05, allocations: 3.875 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002267/0.002299, allocations: 1.138 MB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.004446, allocations: 1.565 MB / 0.7897 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.00458, allocations: 5.25 kB / 0.7898 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.004737, allocations: 31.55 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.00489, allocations: 73 kB / 0.7899 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.005905, allocations: 482.9 kB / 0.7903 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.006461, allocations: 0.5893 MB / 0.7909 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.0067, allocations: 94.22 kB / 0.791 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.007098, allocations: 355.4 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.007333, allocations: 165.2 kB / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.007406, allocations: 48.66 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.007517, allocations: 52 kB / 0.7916 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.007598, allocations: 69.34 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.007761, allocations: 159.6 kB / 0.7918 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.008199, allocations: 386.8 kB / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.008203, allocations: 0 / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.352e-06/0.008204, allocations: 0.625 kB / 0.7922 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.649e-06/0.008214, allocations: 0 / 0.7922 GB, free: 7.312 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.0009436/0.009158, allocations: 0.7672 MB / 0.7929 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.009209, allocations: 8.031 kB / 0.7929 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.009373, allocations: 68.69 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.009801, allocations: 283.4 kB / 0.7932 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.805e-05/0.009849, allocations: 28.86 kB / 0.7933 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.009918, allocations: 40.38 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.01037, allocations: 341.8 kB / 0.7936 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.01038, allocations: 192 / 0.7936 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.01041, allocations: 13.08 kB / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.01042, allocations: 4.375 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.01064, allocations: 120.5 kB / 0.7938 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.01182, allocations: 0.7316 MB / 0.7945 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.01209, allocations: 152.5 kB / 0.7946 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.01222, allocations: 87.64 kB / 0.7947 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.01223, allocations: 8.625 kB / 0.7947 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003952/0.01263, allocations: 342.9 kB / 0.7951 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/0.01263, allocations: 0 / 0.7951 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28): time 0.000664/0.01329, allocations: 364.3 kB / 0.7954 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.01337, allocations: 110.8 kB / 0.7955 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.01372, allocations: 362.1 kB / 0.7958 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.01377, allocations: 42.39 kB / 0.7959 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.01395, allocations: 223.5 kB / 0.7961 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.01401, allocations: 68.83 kB / 0.7962 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.01424, allocations: 151.6 kB / 0.7963 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.01443, allocations: 0.5156 MB / 0.7968 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.01483, allocations: 291.6 kB / 0.7971 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.0153, allocations: 0.4942 MB / 0.7976 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/0.01581, allocations: 0.4922 MB / 0.7981 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01581, allocations: 3.938 kB / 0.7981 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009816/0.0168, allocations: 0.8042 MB / 0.7988 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.356e-05/0.01689, allocations: 134.8 kB / 0.799 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.0169, allocations: 4.812 kB / 0.799 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.01692, allocations: 4 kB / 0.799 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.01712, allocations: 56.84 kB / 0.799 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.01713, allocations: 4 kB / 0.799 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.01751, allocations: 101.9 kB / 0.7991 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.22e-05/0.0176, allocations: 67.86 kB / 0.7992 GB, free: 15.51 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.0001804/0.01778, allocations: 222 kB / 0.7994 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.01784, allocations: 47.75 kB / 0.7995 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.01828, allocations: 312.5 kB / 0.7998 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01829, allocations: 0 / 0.7998 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01829, allocations: 4 kB / 0.7998 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.0183, allocations: 0 / 0.7998 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007079/0.019, allocations: 0.6555 MB / 0.8004 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01901, allocations: 0 / 0.8004 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.01912, allocations: 39.92 kB / 0.8004 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.01912, allocations: 4.5 kB / 0.8004 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.01914, allocations: 8.547 kB / 0.8005 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.01914, allocations: 4.562 kB / 0.8005 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01914, allocations: 3.984 kB / 0.8005 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.01953, allocations: 443.2 kB / 0.8009 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.01957, allocations: 35.73 kB / 0.8009 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.0196, allocations: 11.95 kB / 0.8009 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.01971, allocations: 16.98 kB / 0.8009 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.01976, allocations: 23.95 kB / 0.801 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.01978, allocations: 19.92 kB / 0.801 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001561/0.01994, allocations: 223.6 kB / 0.8012 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.01994, allocations: 0 / 0.8012 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004181/0.02036, allocations: 97.67 kB / 0.8013 GB, free: 13.31 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.0001928/0.02055, allocations: 120.6 kB / 0.8014 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007686/0.02132, allocations: 0.6999 MB / 0.8021 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.02132, allocations: 0 / 0.8021 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.02148, allocations: 119.5 kB / 0.8022 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.02198, allocations: 91.14 kB / 0.8023 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.02286, allocations: 0.5314 MB / 0.8028 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.695e-05/0.02294, allocations: 98.81 kB / 0.8029 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.02308, allocations: 62.95 kB / 0.803 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.754e-05/0.02313, allocations: 36.48 kB / 0.803 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of SimCode: time 1.172e-06/0.02314, allocations: 4 kB / 0.803 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of Templates: time 0.009385/0.03252, allocations: 6.281 MB / 0.8091 GB, free: 5.301 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.221406626980752]