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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_latest_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.007475/0.007475, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001824/0.001824, allocations: 194 kB / 16.67 MB, free: 5.969 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.849/2.849, allocations: 469.4 MB / 0.7422 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 63.91 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3551, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00242/0.3576, allocations: 1.16 MB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002104/0.3597, allocations: 1.513 MB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3599, allocations: 4 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.3601, allocations: 31.61 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3603, allocations: 63.5 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.3616, allocations: 496.8 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007304/0.3623, allocations: 0.6323 MB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.3627, allocations: 136.5 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003689/0.363, allocations: 227.5 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.3634, allocations: 215.2 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3635, allocations: 64 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3637, allocations: 79.97 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.3638, allocations: 71.77 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002453/0.3641, allocations: 227 kB / 1.225 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006181/0.3647, allocations: 0.6228 MB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.3647, allocations: 4 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3647, allocations: 0 / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.3647, allocations: 0 / 1.225 GB, free: 9.184 MB / 0.9825 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.0011/0.3658, allocations: 0.7547 MB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3659, allocations: 8.031 kB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.3659, allocations: 58.73 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3661, allocations: 48.7 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3671, allocations: 404.1 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.3671, allocations: 24.81 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.459e-05/0.3672, allocations: 40.36 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.3676, allocations: 255.5 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3676, allocations: 0 / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.3677, allocations: 12 kB / 1.227 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3677, allocations: 4 kB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.3679, allocations: 157.7 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.3693, allocations: 0.8492 MB / 1.228 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.3696, allocations: 222.7 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.3699, allocations: 204.7 kB / 1.228 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.3699, allocations: 4 kB / 1.228 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/0.3703, allocations: 259.7 kB / 1.228 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.512e-06/0.3703, allocations: 3.938 kB / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0006657/0.3709, allocations: 431.1 kB / 1.229 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.371, allocations: 114.7 kB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3713, allocations: 320.5 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/0.3714, allocations: 37.7 kB / 1.229 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3715, allocations: 180.8 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.3716, allocations: 67.52 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.3718, allocations: 146 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.372, allocations: 342.8 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.3724, allocations: 212.6 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.3728, allocations: 325 kB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007583/0.3736, allocations: 0.5271 MB / 1.231 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.3736, allocations: 4 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001268/0.3749, allocations: 0.741 MB / 1.232 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.375, allocations: 123.2 kB / 1.232 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.375, allocations: 8 kB / 1.232 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.3751, allocations: 7.938 kB / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.3754, allocations: 59.84 kB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.3754, allocations: 11.94 kB / 1.232 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.3761, allocations: 131.6 kB / 1.232 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.3763, allocations: 63.92 kB / 1.232 GB, free: 1.656 MB / 0.9825 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.0002812/0.3765, allocations: 193.6 kB / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.3766, allocations: 35.81 kB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006195/0.3772, allocations: 365.4 kB / 1.233 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3773, allocations: 7.938 kB / 1.233 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3773, allocations: 0 / 1.233 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3773, allocations: 3.984 kB / 1.233 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.3784, allocations: 0.7525 MB / 1.233 GB, free: 248 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3784, allocations: 7.938 kB / 1.233 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3785, allocations: 35.92 kB / 1.233 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.3785, allocations: 4 kB / 1.233 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.3786, allocations: 7.984 kB / 1.233 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3786, allocations: 4 kB / 1.233 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3786, allocations: 3.984 kB / 1.233 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.3791, allocations: 424.9 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.3792, allocations: 120.8 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.3792, allocations: 8 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3794, allocations: 19.91 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.3794, allocations: 27.91 kB / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3795, allocations: 8 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002188/0.3797, allocations: 215.1 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3797, allocations: 0 / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004027/0.3801, allocations: 99.88 kB / 1.234 GB, free: 15.24 MB / 0.9981 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.0007961/0.3809, allocations: 0.9837 MB / 1.235 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008607/0.3818, allocations: 0.6742 MB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3818, allocations: 192 / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.382, allocations: 152.4 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.3825, allocations: 76.98 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/0.3874, allocations: 3.826 MB / 1.24 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.3878, allocations: 0.7838 MB / 1.241 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.388, allocations: 71.23 kB / 1.241 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3882, allocations: 111.4 kB / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/0.3882, allocations: 0 / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4148, allocations: 8.456 MB / 1.249 GB, free: 44 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.623, allocations: 0 / 1.249 GB, free: 44 kB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv","/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