Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001418/0.001418, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001581/0.001581, allocations: 161 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.135/1.135, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.996/1.996, allocations: 359 MB / 0.6052 GB, free: 11.01 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.[0-9,]+.|extIntSig.y.[0-9,]+.|extIntSig1.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.518e-06/4.518e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.623e-05/6.074e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.003412/0.003473, allocations: 0.8767 MB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.006129, allocations: 1.351 MB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.006263, allocations: 0 / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.006445, allocations: 25.02 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.006553, allocations: 31.72 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.007429, allocations: 255.4 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004109/0.00784, allocations: 332 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.008032, allocations: 35.06 kB / 0.7899 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002337/0.008266, allocations: 183.7 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.008434, allocations: 87.8 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.008481, allocations: 28 kB / 0.7902 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.008605, allocations: 56.7 kB / 0.7903 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.008684, allocations: 47.84 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.008792, allocations: 88.36 kB / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.009131, allocations: 244 kB / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.009136, allocations: 0 / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.813e-06/0.009138, allocations: 4.906 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.009146, allocations: 0 / 0.7906 GB, free: 8.852 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008131/0.009959, allocations: 0.5732 MB / 0.7912 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.01002, allocations: 8.688 kB / 0.7912 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003959/0.01042, allocations: 76.75 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.01093, allocations: 237.9 kB / 0.7915 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/0.01096, allocations: 12.38 kB / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.01099, allocations: 25.42 kB / 0.7915 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.01121, allocations: 147.9 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.01122, allocations: 4.188 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.01124, allocations: 7.562 kB / 0.7917 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.01125, allocations: 8.125 kB / 0.7917 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.974e-05/0.01132, allocations: 39.91 kB / 0.7917 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.01205, allocations: 0.8321 MB / 0.7925 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.01215, allocations: 66.12 kB / 0.7926 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.01219, allocations: 23.42 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.0122, allocations: 0.7188 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.01235, allocations: 106 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.01236, allocations: 0 / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002808/0.01264, allocations: 121.8 kB / 0.7928 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.0127, allocations: 85.03 kB / 0.7929 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.01311, allocations: 263.8 kB / 0.7932 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.01314, allocations: 33.7 kB / 0.7932 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.01324, allocations: 191 kB / 0.7934 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.01326, allocations: 16.78 kB / 0.7934 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.01335, allocations: 71.33 kB / 0.7935 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.0135, allocations: 0.4978 MB / 0.794 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.01363, allocations: 119.4 kB / 0.7941 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.01379, allocations: 258.7 kB / 0.7943 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.01396, allocations: 206.6 kB / 0.7945 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.01397, allocations: 0 / 0.7945 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004068/0.01437, allocations: 350.1 kB / 0.7949 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.01446, allocations: 72.73 kB / 0.7949 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.01446, allocations: 1.688 kB / 0.7949 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.01449, allocations: 4 kB / 0.7949 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.01458, allocations: 8 kB / 0.7949 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.01459, allocations: 15.92 kB / 0.795 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.01477, allocations: 36.83 kB / 0.795 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.0148, allocations: 20.52 kB / 0.795 GB, free: 3.938 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001376/0.01493, allocations: 169.5 kB / 0.7952 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.01496, allocations: 25 kB / 0.7952 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.481e-05/0.01503, allocations: 17.02 kB / 0.7952 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01503, allocations: 0 / 0.7952 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.01504, allocations: 0.5 kB / 0.7952 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01505, allocations: 4.531 kB / 0.7952 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.01521, allocations: 172.6 kB / 0.7954 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.01521, allocations: 1.375 kB / 0.7954 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.01525, allocations: 7.938 kB / 0.7954 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.01525, allocations: 0 / 0.7954 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01527, allocations: 8.75 kB / 0.7954 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01527, allocations: 0 / 0.7954 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01527, allocations: 0 / 0.7954 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.01546, allocations: 148.9 kB / 0.7955 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.01548, allocations: 15.86 kB / 0.7956 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.01551, allocations: 13.28 kB / 0.7956 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.796e-05/0.01553, allocations: 0 / 0.7956 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.01558, allocations: 7.984 kB / 0.7956 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.01559, allocations: 4 kB / 0.7956 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.22e-05/0.01568, allocations: 182.2 kB / 0.7957 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01568, allocations: 0 / 0.7957 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002022/0.01588, allocations: 46.22 kB / 0.7958 GB, free: 3.07 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002135/0.01609, allocations: 103.2 kB / 0.7959 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.01642, allocations: 289.2 kB / 0.7962 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.01642, allocations: 3.938 kB / 0.7962 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.01647, allocations: 35.61 kB / 0.7962 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.01672, allocations: 27.97 kB / 0.7962 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.01731, allocations: 303.1 kB / 0.7965 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.302e-05/0.01736, allocations: 71.98 kB / 0.7966 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.46e-05/0.01742, allocations: 23.83 kB / 0.7966 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.01745, allocations: 21.5 kB / 0.7966 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of SimCode: time 1.834e-06/0.01746, allocations: 0 / 0.7966 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.005639/0.0231, allocations: 2.668 MB / 0.7992 GB, free: 15.53 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.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.851631479803473]