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.005775/0.005775, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001262/0.001262, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.758/2.758, allocations: 437.1 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3491, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002868/0.352, allocations: 1.149 MB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3544, allocations: 1.51 MB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.3546, allocations: 4 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.3548, allocations: 27.61 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.355, allocations: 63.52 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3563, allocations: 498 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000803/0.3571, allocations: 0.6206 MB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.3575, allocations: 151.2 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.3579, allocations: 235.4 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.3583, allocations: 215.2 kB / 1.171 GB, free: 2.848 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.3585, allocations: 64 kB / 1.171 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.3587, allocations: 67.98 kB / 1.171 GB, free: 2.719 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3588, allocations: 79.75 kB / 1.171 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.3592, allocations: 223.1 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006997/0.3599, allocations: 0.6278 MB / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3599, allocations: 0 / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3599, allocations: 0 / 1.172 GB, free: 1.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.3599, allocations: 0 / 1.172 GB, free: 1.793 MB / 0.92 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.001184/0.3611, allocations: 0.7354 MB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3612, allocations: 16.03 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.432e-05/0.3612, allocations: 62.72 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3614, allocations: 44.56 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.3624, allocations: 403.8 kB / 1.173 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.3625, allocations: 24.81 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.3626, allocations: 28.38 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.363, allocations: 263.5 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.363, allocations: 0 / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.3631, allocations: 7.984 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3631, allocations: 11.98 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.3634, allocations: 153.8 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.3649, allocations: 0.8489 MB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.3652, allocations: 234.5 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.3656, allocations: 204.7 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3656, allocations: 7.984 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.366, allocations: 249.4 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.366, allocations: 0 / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0008182/0.3668, allocations: 434.3 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.367, allocations: 118.7 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.3673, allocations: 328.2 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.3674, allocations: 41.7 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.3676, allocations: 180.5 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.882e-05/0.3676, allocations: 63.19 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.3679, allocations: 142 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.368, allocations: 346.8 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.3684, allocations: 204.7 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004582/0.3689, allocations: 321 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.3696, allocations: 0.5311 MB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3696, allocations: 0 / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001154/0.3708, allocations: 0.7364 MB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.991e-05/0.3709, allocations: 123.2 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3709, allocations: 8 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.3709, allocations: 8 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.3711, allocations: 59.84 kB / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.3712, allocations: 11.94 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.3718, allocations: 135.4 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.3719, allocations: 63.92 kB / 1.178 GB, free: 10.28 MB / 0.9356 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.0002373/0.3722, allocations: 192.4 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.361e-05/0.3722, allocations: 35.56 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.3728, allocations: 353.2 kB / 1.179 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.078e-06/0.3728, allocations: 7.938 kB / 1.179 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3729, allocations: 0 / 1.179 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3729, allocations: 3.984 kB / 1.179 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009324/0.3738, allocations: 0.7491 MB / 1.18 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3738, allocations: 3.938 kB / 1.18 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.3739, allocations: 39.92 kB / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.374, allocations: 0 / 1.18 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.374, allocations: 11.98 kB / 1.18 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.374, allocations: 7.922 kB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.374, allocations: 0 / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.3745, allocations: 428.1 kB / 1.18 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.3746, allocations: 116.5 kB / 1.18 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3747, allocations: 15.94 kB / 1.18 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3748, allocations: 11.98 kB / 1.18 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.3749, allocations: 19.97 kB / 1.18 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3749, allocations: 12 kB / 1.18 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001965/0.3751, allocations: 215.1 kB / 1.181 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3751, allocations: 0 / 1.181 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004068/0.3755, allocations: 95.84 kB / 1.181 GB, free: 7.895 MB / 0.9356 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.0008873/0.3764, allocations: 0.9997 MB / 1.182 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008714/0.3773, allocations: 0.6736 MB / 1.182 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.3773, allocations: 4.25 kB / 1.182 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.3775, allocations: 143.8 kB / 1.182 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.378, allocations: 76.97 kB / 1.183 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/0.383, allocations: 3.813 MB / 1.186 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.3834, allocations: 0.7759 MB / 1.187 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.3836, allocations: 71.23 kB / 1.187 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.3838, allocations: 115.4 kB / 1.187 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/0.3838, allocations: 0 / 1.187 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.4139, allocations: 8.431 MB / 1.195 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.48, allocations: 20.02 kB / 1.195 GB, free: 8.684 MB / 0.9512 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