Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001132/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001136/0.001136, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.8685 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.743, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.003611/0.7467, allocations: 1.2 MB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.7491, allocations: 1.577 MB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.019e-05/0.7493, allocations: 8 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.7494, allocations: 23.73 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.7495, allocations: 39.62 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.7506, allocations: 453.3 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.7511, allocations: 0.5152 MB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.7514, allocations: 148.4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.7516, allocations: 195.4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.7518, allocations: 179.3 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.7519, allocations: 31.94 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.7521, allocations: 43.98 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.7521, allocations: 63.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.7524, allocations: 191.1 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.7529, allocations: 0.5897 MB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7529, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7529, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7529, allocations: 4 kB / 1.022 GB, free: 13.51 MB / 0.7794 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.0009669/0.7539, allocations: 0.7433 MB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.7539, allocations: 12.03 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.7541, allocations: 44.47 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009818/0.7551, allocations: 407.9 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.7551, allocations: 28.75 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.7552, allocations: 36.38 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.7556, allocations: 251.8 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7556, allocations: 7.938 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.7556, allocations: 4 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.7556, allocations: 8 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.7559, allocations: 161.6 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.7571, allocations: 0.853 MB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.7575, allocations: 220.3 kB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.7578, allocations: 196.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.7578, allocations: 4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003733/0.7582, allocations: 249.7 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.7582, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007735/0.759, allocations: 435.6 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.7591, allocations: 122.7 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.7594, allocations: 328.3 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/0.7595, allocations: 37.7 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.7596, allocations: 184.5 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.7597, allocations: 55.25 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.7599, allocations: 145.9 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.7601, allocations: 342.8 kB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.7604, allocations: 204.7 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.7609, allocations: 329 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.7615, allocations: 0.5271 MB / 1.027 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.7615, allocations: 4 kB / 1.027 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001087/0.7626, allocations: 0.7292 MB / 1.028 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-05/0.7627, allocations: 132.4 kB / 1.028 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.7627, allocations: 7.938 kB / 1.028 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.7628, allocations: 4 kB / 1.028 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.763, allocations: 59.91 kB / 1.028 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.763, allocations: 11.88 kB / 1.028 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/0.7636, allocations: 135.4 kB / 1.028 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.7638, allocations: 63.92 kB / 1.029 GB, free: 6.074 MB / 0.7794 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.0002241/0.764, allocations: 189.7 kB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.764, allocations: 35.61 kB / 1.029 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/0.7646, allocations: 361.5 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7646, allocations: 7.938 kB / 1.029 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.7646, allocations: 3.938 kB / 1.029 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.7647, allocations: 3.984 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.7656, allocations: 0.7597 MB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7656, allocations: 0 / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.7657, allocations: 43.86 kB / 1.03 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7658, allocations: 0 / 1.03 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.7658, allocations: 8 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.7658, allocations: 4 kB / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7658, allocations: 0 / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.7664, allocations: 431.5 kB / 1.03 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.7665, allocations: 116.5 kB / 1.03 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.7665, allocations: 8 kB / 1.03 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7667, allocations: 8 kB / 1.03 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.7667, allocations: 19.97 kB / 1.03 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.7668, allocations: 15.98 kB / 1.03 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002384/0.767, allocations: 219.1 kB / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.767, allocations: 0 / 1.031 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004387/0.7675, allocations: 92 kB / 1.031 GB, free: 3.676 MB / 0.7794 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.000255/0.7677, allocations: 125.4 kB / 1.031 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009519/0.7687, allocations: 0.6771 MB / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7687, allocations: 0 / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.7689, allocations: 143.9 kB / 1.032 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.7694, allocations: 85.59 kB / 1.032 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.7704, allocations: 0.6512 MB / 1.032 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.7708, allocations: 0.7733 MB / 1.033 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001745/0.771, allocations: 75.22 kB / 1.033 GB, free: 1.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.7711, allocations: 39.38 kB / 1.033 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7711, allocations: 0 / 1.033 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of Templates: time 0.01042/0.7815, allocations: 5.231 MB / 1.038 GB, free: 11.83 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches