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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00156/0.00156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.566/1.566, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.938/2.938, allocations: 469.4 MB / 0.742 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.06 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002702/0.3364, allocations: 1.147 MB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.3388, allocations: 1.513 MB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.339, allocations: 4 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.3392, allocations: 35.61 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.3394, allocations: 51.5 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3406, allocations: 491.1 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006869/0.3413, allocations: 0.6128 MB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.3416, allocations: 152.5 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002821/0.3419, allocations: 227.4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.3421, allocations: 187.4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.3423, allocations: 60 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3425, allocations: 75.91 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.3426, allocations: 75.77 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.3429, allocations: 223 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007482/0.3436, allocations: 0.6196 MB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3437, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3437, allocations: 3.938 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.3437, allocations: 4 kB / 1.069 GB, free: 9.047 MB / 0.8262 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.001217/0.3449, allocations: 0.7355 MB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.289e-05/0.345, allocations: 15.97 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.791e-05/0.3451, allocations: 58.73 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.3452, allocations: 40.56 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3465, allocations: 408 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/0.3465, allocations: 20.81 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3467, allocations: 36.38 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.3471, allocations: 263.5 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3471, allocations: 3.938 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3471, allocations: 7.984 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3472, allocations: 8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.3474, allocations: 153.7 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.349, allocations: 0.853 MB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.3495, allocations: 226.7 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.3499, allocations: 202.2 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.35, allocations: 3.984 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.3504, allocations: 243.8 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.3504, allocations: 0 / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0009786/0.3514, allocations: 430.9 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.3515, allocations: 114.8 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.352, allocations: 328.2 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.3521, allocations: 41.7 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3523, allocations: 180.5 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.3524, allocations: 59.28 kB / 1.073 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/0.3527, allocations: 141.9 kB / 1.073 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3529, allocations: 346.8 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005542/0.3535, allocations: 208.7 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/0.3541, allocations: 324.9 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009067/0.355, allocations: 0.5311 MB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3551, allocations: 0 / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001648/0.3567, allocations: 0.7326 MB / 1.075 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.3568, allocations: 126.9 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.3569, allocations: 4 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.3569, allocations: 7.938 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.3572, allocations: 63.84 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.3572, allocations: 4 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009385/0.3582, allocations: 131.5 kB / 1.076 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.3583, allocations: 67.86 kB / 1.076 GB, free: 1.562 MB / 0.8262 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.0003079/0.3586, allocations: 198.2 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.3587, allocations: 31.62 kB / 1.076 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.3595, allocations: 369.4 kB / 1.076 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3595, allocations: 3.938 kB / 1.076 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.3595, allocations: 4 kB / 1.076 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.3596, allocations: 3.984 kB / 1.076 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.3609, allocations: 0.748 MB / 1.077 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.3609, allocations: 3.938 kB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3611, allocations: 35.98 kB / 1.077 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3611, allocations: 3.938 kB / 1.077 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.853e-05/0.3611, allocations: 19.98 kB / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3611, allocations: 0 / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3611, allocations: 0 / 1.077 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.3618, allocations: 427.5 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/0.3619, allocations: 112.6 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.362, allocations: 8 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.3622, allocations: 11.98 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.3623, allocations: 19.97 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.3623, allocations: 16 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002943/0.3626, allocations: 215.1 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3626, allocations: 0 / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006811/0.3633, allocations: 99.84 kB / 1.078 GB, free: 15.16 MB / 0.8419 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.001135/0.3645, allocations: 0.9991 MB / 1.079 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.3659, allocations: 0.7009 MB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.3659, allocations: 3.984 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/0.3662, allocations: 144.3 kB / 1.08 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007582/0.3669, allocations: 79.52 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005937/0.3729, allocations: 3.829 MB / 1.084 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.3733, allocations: 0.7804 MB / 1.084 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.3735, allocations: 75.22 kB / 1.085 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.3737, allocations: 115.3 kB / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of SimCode: time 7.71e-07/0.3737, allocations: 0 / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.4103, allocations: 8.363 MB / 1.093 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.34, allocations: 64 / 1.093 GB, free: 15.99 MB / 0.8575 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