Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 102.6 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 469.4 MB / 0.7427 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 68.53 kB / 0.9088 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.327, allocations: 159.1 MB / 1.064 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002524/0.3296, allocations: 1.139 MB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3319, allocations: 1.525 MB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.3321, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.3323, allocations: 27.61 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.3325, allocations: 51.45 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3338, allocations: 491.1 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000822/0.3347, allocations: 0.6167 MB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.335, allocations: 148.5 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.3353, allocations: 223.5 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.3356, allocations: 195.2 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.3357, allocations: 60 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.3359, allocations: 75.98 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.336, allocations: 79.69 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.3363, allocations: 223.1 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006694/0.3369, allocations: 0.6079 MB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3369, allocations: 0 / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.337, allocations: 0 / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.337, allocations: 0 / 1.07 GB, free: 9.512 MB / 0.8419 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.001108/0.3381, allocations: 0.7472 MB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3381, allocations: 12.62 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.3383, allocations: 44.56 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3394, allocations: 403.8 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.3395, allocations: 24.8 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.3396, allocations: 36.38 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.34, allocations: 251.8 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.3401, allocations: 7.938 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.3401, allocations: 8 kB / 1.071 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.3401, allocations: 8 kB / 1.071 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.3404, allocations: 161.6 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.3418, allocations: 0.849 MB / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.3422, allocations: 230.6 kB / 1.072 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.3425, allocations: 206.6 kB / 1.072 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3425, allocations: 4 kB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003269/0.3429, allocations: 247.8 kB / 1.073 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 2.495e-06/0.3429, allocations: 4 kB / 1.073 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.0007175/0.3436, allocations: 427 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.3437, allocations: 114.8 kB / 1.073 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.344, allocations: 320.4 kB / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.3441, allocations: 37.7 kB / 1.074 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3443, allocations: 192.4 kB / 1.074 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.3443, allocations: 55.28 kB / 1.074 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.3445, allocations: 145.9 kB / 1.074 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3447, allocations: 346.8 kB / 1.074 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.3451, allocations: 208.6 kB / 1.074 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/0.3456, allocations: 329 kB / 1.075 GB, free: 3.855 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.3463, allocations: 0.5193 MB / 1.075 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.3463, allocations: 4 kB / 1.075 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001113/0.3474, allocations: 0.74 MB / 1.076 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/0.3475, allocations: 126.8 kB / 1.076 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3475, allocations: 4 kB / 1.076 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3475, allocations: 4 kB / 1.076 GB, free: 2.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3477, allocations: 59.91 kB / 1.076 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3478, allocations: 12.28 kB / 1.076 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006721/0.3484, allocations: 131.5 kB / 1.076 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.3486, allocations: 63.92 kB / 1.076 GB, free: 2.078 MB / 0.8419 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.0002561/0.3489, allocations: 190.2 kB / 1.077 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.3489, allocations: 31.62 kB / 1.077 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005217/0.3494, allocations: 373.3 kB / 1.077 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3495, allocations: 4 kB / 1.077 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3495, allocations: 3.938 kB / 1.077 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3495, allocations: 0 / 1.077 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009089/0.3504, allocations: 0.7481 MB / 1.078 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3504, allocations: 3.984 kB / 1.078 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.3505, allocations: 43.86 kB / 1.078 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3505, allocations: 3.938 kB / 1.078 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3506, allocations: 8 kB / 1.078 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3506, allocations: 0 / 1.078 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3506, allocations: 0 / 1.078 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.351, allocations: 435.5 kB / 1.078 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-05/0.3511, allocations: 108.6 kB / 1.078 GB, free: 48 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.3512, allocations: 15.92 kB / 1.078 GB, free: 32 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.3513, allocations: 12 kB / 1.078 GB, free: 20 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.4435/0.7948, allocations: 20.08 kB / 1.078 GB, free: 22.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/0.7949, allocations: 12.25 kB / 1.078 GB, free: 22.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003081/0.7952, allocations: 215.8 kB / 1.079 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7952, allocations: 0 / 1.079 GB, free: 22.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006605/0.7959, allocations: 93.17 kB / 1.079 GB, free: 22.23 MB / 0.8419 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.0002038/0.7961, allocations: 128.7 kB / 1.079 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.7972, allocations: 0.7066 MB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7972, allocations: 0.5 kB / 1.079 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.7974, allocations: 147 kB / 1.08 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.798, allocations: 74.73 kB / 1.08 GB, free: 21.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.7989, allocations: 0.6144 MB / 1.08 GB, free: 21.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.7991, allocations: 0.7794 MB / 1.081 GB, free: 20.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.7992, allocations: 38.08 kB / 1.081 GB, free: 20.92 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.7992, allocations: 0 / 1.081 GB, free: 20.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.009705/0.8089, allocations: 4.963 MB / 1.086 GB, free: 20.53 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches