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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001704/0.001704, allocations: 191 kB / 16.25 MB, free: 6.637 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.471/2.471, allocations: 437 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 67.89 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6412, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002463/0.6437, allocations: 1.204 MB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.6457, allocations: 1.51 MB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.6459, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.646, allocations: 19.8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.6462, allocations: 47.56 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.6473, allocations: 462.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000679/0.648, allocations: 0.609 MB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.6483, allocations: 156.4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.6486, allocations: 223.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.6489, allocations: 191.3 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.649, allocations: 63.94 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.6491, allocations: 71.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.6492, allocations: 79.75 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.6495, allocations: 227.1 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.6501, allocations: 0.6176 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6501, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6501, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.6501, allocations: 4 kB / 1.022 GB, free: 13.22 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.001045/0.6512, allocations: 0.7355 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.6512, allocations: 12.02 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/0.6513, allocations: 54.73 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.6514, allocations: 48.47 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.6524, allocations: 404 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.6525, allocations: 24.81 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.6526, allocations: 36.38 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.653, allocations: 259.5 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.653, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.653, allocations: 8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.653, allocations: 8 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.6533, allocations: 161.7 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.6546, allocations: 0.8568 MB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.6549, allocations: 218.7 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.6552, allocations: 208.8 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.6552, allocations: 4 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.6555, allocations: 241.1 kB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 3.196e-06/0.6556, allocations: 0 / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006845/0.6562, allocations: 436.3 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.6563, allocations: 122.7 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.6567, allocations: 328.2 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.6567, allocations: 41.69 kB / 1.026 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.6569, allocations: 176.5 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.6569, allocations: 59.25 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.6572, allocations: 145.9 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6573, allocations: 342.8 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.6577, allocations: 208.7 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.6581, allocations: 324.9 kB / 1.028 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.6588, allocations: 0.5349 MB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6588, allocations: 0 / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00107/0.6599, allocations: 0.7289 MB / 1.029 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.764e-05/0.66, allocations: 134.7 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.66, allocations: 4 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.66, allocations: 4 kB / 1.029 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.6602, allocations: 63.84 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.6602, allocations: 4 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.6609, allocations: 131.8 kB / 1.029 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.661, allocations: 71.86 kB / 1.029 GB, free: 5.719 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.0002102/0.6612, allocations: 185.8 kB / 1.029 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.6612, allocations: 35.61 kB / 1.029 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005458/0.6618, allocations: 369.4 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.6618, allocations: 7.938 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6618, allocations: 0 / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6618, allocations: 0 / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.6628, allocations: 0.7519 MB / 1.03 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6628, allocations: 3.938 kB / 1.03 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.663, allocations: 39.92 kB / 1.03 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.663, allocations: 7.984 kB / 1.03 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.663, allocations: 8 kB / 1.03 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.663, allocations: 3.938 kB / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.663, allocations: 0 / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.6635, allocations: 427.5 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.6636, allocations: 120.5 kB / 1.031 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.6637, allocations: 4 kB / 1.031 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6638, allocations: 8 kB / 1.031 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.6639, allocations: 23.97 kB / 1.031 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.6639, allocations: 19.98 kB / 1.031 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002115/0.6641, allocations: 211.1 kB / 1.031 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6641, allocations: 0 / 1.031 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004097/0.6645, allocations: 96 kB / 1.031 GB, free: 3.324 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.0008747/0.6654, allocations: 0.9972 MB / 1.032 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009264/0.6664, allocations: 0.6976 MB / 1.033 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6664, allocations: 12.19 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.6666, allocations: 156.3 kB / 1.033 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.6671, allocations: 73.03 kB / 1.033 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.6721, allocations: 3.89 MB / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.6724, allocations: 0.7803 MB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001754/0.6726, allocations: 67.23 kB / 1.038 GB, free: 12.38 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.6728, allocations: 115.4 kB / 1.038 GB, free: 12.26 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.6728, allocations: 3.938 kB / 1.038 GB, free: 12.26 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.6929, allocations: 8.246 MB / 1.046 GB, free: 4.223 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.6932, allocations: 218.7 kB / 1.046 GB, free: 3.965 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.574, allocations: 0 / 1.046 GB, free: 3.965 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > 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/jenkins1/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