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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00127/0.00127, 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.001347/0.001347, allocations: 195 kB / 16.14 MB, free: 6.711 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 75.88 kB / 0.8687 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5656/0.5671, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002156/0.5693, allocations: 1.204 MB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.5711, allocations: 1.577 MB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.5712, allocations: 4 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.5713, allocations: 15.8 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.475e-05/0.5714, allocations: 43.64 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008904/0.5723, allocations: 459.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.5727, allocations: 0.5151 MB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.5729, allocations: 148.3 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.5731, allocations: 191.4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.5733, allocations: 179.2 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.5733, allocations: 32 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.5735, allocations: 39.98 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.5735, allocations: 71.69 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.5737, allocations: 191.1 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.5742, allocations: 0.5902 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5742, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5742, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.5742, allocations: 0 / 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.0007765/0.575, allocations: 0.7395 MB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.575, allocations: 12.02 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.421e-05/0.5751, allocations: 62.73 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.564e-05/0.5752, allocations: 48.47 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000912/0.5761, allocations: 407.8 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.5762, allocations: 24.81 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.5762, allocations: 32.38 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.5766, allocations: 259.5 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.5766, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.5766, allocations: 12 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.5766, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.5769, allocations: 153.7 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.578, allocations: 0.8568 MB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.5783, allocations: 222.7 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.5786, allocations: 202.7 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.5786, allocations: 4 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.5789, allocations: 249 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.482e-06/0.5789, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006098/0.5795, allocations: 440.2 kB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.5796, allocations: 114.7 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.5798, allocations: 324.3 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.5799, allocations: 49.56 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.58, allocations: 176.6 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.5801, allocations: 59.25 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.5803, allocations: 149.9 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5804, allocations: 342.8 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.5807, allocations: 204.7 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.5811, allocations: 325 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.5817, allocations: 0.5311 MB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5817, allocations: 4 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009832/0.5827, allocations: 0.7249 MB / 1.028 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.5828, allocations: 130.8 kB / 1.028 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5828, allocations: 0 / 1.028 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5828, allocations: 8 kB / 1.028 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.583, allocations: 60.25 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.583, allocations: 15.94 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.5836, allocations: 131.4 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.5837, allocations: 71.86 kB / 1.029 GB, free: 6 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.0001749/0.5839, allocations: 185.7 kB / 1.029 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.5839, allocations: 35.61 kB / 1.029 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.5844, allocations: 365.5 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.5844, allocations: 7.938 kB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5844, allocations: 0 / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5844, allocations: 0 / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007617/0.5852, allocations: 0.7519 MB / 1.03 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5852, allocations: 3.938 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5853, allocations: 39.92 kB / 1.03 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.5854, allocations: 4 kB / 1.03 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.5854, allocations: 4 kB / 1.03 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5854, allocations: 4 kB / 1.03 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5854, allocations: 0 / 1.03 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.5858, allocations: 431.5 kB / 1.03 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.5859, allocations: 124.5 kB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.5859, allocations: 4 kB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.586, allocations: 11.94 kB / 1.031 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.5861, allocations: 23.97 kB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.5861, allocations: 19.98 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001752/0.5863, allocations: 211.1 kB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5863, allocations: 0 / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003618/0.5867, allocations: 92 kB / 1.031 GB, free: 3.609 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.0006964/0.5874, allocations: 0.9874 MB / 1.032 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007608/0.5882, allocations: 0.6776 MB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5882, allocations: 0 / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.5883, allocations: 148.3 kB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.5888, allocations: 79.69 kB / 1.033 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.5932, allocations: 3.896 MB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.5935, allocations: 0.7807 MB / 1.037 GB, free: 12.77 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.5937, allocations: 67.23 kB / 1.037 GB, free: 12.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.5939, allocations: 119.4 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.5939, allocations: 0 / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.6113, allocations: 7.999 MB / 1.045 GB, free: 4.773 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.6115, allocations: 216 kB / 1.046 GB, free: 4.52 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.481, allocations: 0 / 1.046 GB, free: 4.52 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