Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_11_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.004771/0.004771, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001364/0.001364, allocations: 192.3 kB / 16.68 MB, free: 5.973 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 75.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8979/0.8998, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002424/0.9023, allocations: 1.159 MB / 1.221 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.9046, allocations: 1.502 MB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.9047, allocations: 4 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.905, allocations: 31.61 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.9051, allocations: 55.48 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.9066, allocations: 497.5 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.9074, allocations: 0.6206 MB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.9078, allocations: 156.4 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.9081, allocations: 227.5 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.9085, allocations: 219.2 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.9086, allocations: 60 kB / 1.225 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.9088, allocations: 67.98 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.9089, allocations: 79.75 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.9092, allocations: 223.1 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008425/0.9101, allocations: 0.6342 MB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.9101, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9101, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.9101, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 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.001028/0.9112, allocations: 0.7508 MB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.9112, allocations: 12.03 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.354e-05/0.9113, allocations: 62.73 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.9114, allocations: 44.7 kB / 1.226 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009786/0.9124, allocations: 408.1 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.9124, allocations: 20.81 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.9125, allocations: 40.36 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.913, allocations: 255.5 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.913, allocations: 4 kB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.913, allocations: 4 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.9131, allocations: 12 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.9134, allocations: 153.7 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.9149, allocations: 0.8453 MB / 1.228 GB, free: 9.766 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.9152, allocations: 226.7 kB / 1.228 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.9155, allocations: 208.8 kB / 1.228 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.9155, allocations: 0 / 1.228 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.9159, allocations: 239.8 kB / 1.229 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.9159, allocations: 8 kB / 1.229 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.0007388/0.9167, allocations: 431.1 kB / 1.229 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.399e-05/0.9168, allocations: 122.7 kB / 1.229 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.9172, allocations: 320.4 kB / 1.23 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.9172, allocations: 41.64 kB / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.9174, allocations: 188.7 kB / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.9175, allocations: 63.52 kB / 1.23 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.9177, allocations: 146 kB / 1.23 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.9179, allocations: 350.8 kB / 1.23 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.9183, allocations: 204.7 kB / 1.23 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.9188, allocations: 325 kB / 1.231 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.9195, allocations: 0.5271 MB / 1.231 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.9195, allocations: 0 / 1.231 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001221/0.9207, allocations: 0.7443 MB / 1.232 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.613e-05/0.9208, allocations: 122.8 kB / 1.232 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9208, allocations: 4 kB / 1.232 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9209, allocations: 4 kB / 1.232 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.9211, allocations: 63.84 kB / 1.232 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/0.9211, allocations: 8.344 kB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.9218, allocations: 139.5 kB / 1.232 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.9219, allocations: 63.92 kB / 1.232 GB, free: 5.008 MB / 0.9512 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.0002306/0.9222, allocations: 202.1 kB / 1.233 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.9222, allocations: 27.81 kB / 1.233 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005718/0.9228, allocations: 369.5 kB / 1.233 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.9228, allocations: 7.938 kB / 1.233 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9228, allocations: 0 / 1.233 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.9228, allocations: 3.984 kB / 1.233 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009573/0.9238, allocations: 0.7447 MB / 1.234 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.9238, allocations: 7.938 kB / 1.234 GB, free: 3.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.924, allocations: 39.92 kB / 1.234 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.924, allocations: 0 / 1.234 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.924, allocations: 15.98 kB / 1.234 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.924, allocations: 0 / 1.234 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.924, allocations: 0 / 1.234 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.9245, allocations: 432.8 kB / 1.234 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.9246, allocations: 112.8 kB / 1.234 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.9247, allocations: 8 kB / 1.234 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9248, allocations: 11.98 kB / 1.234 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.9249, allocations: 19.97 kB / 1.234 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.9249, allocations: 16 kB / 1.234 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002414/0.9251, allocations: 215.1 kB / 1.235 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9251, allocations: 3.938 kB / 1.235 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00041/0.9256, allocations: 99.88 kB / 1.235 GB, free: 2.598 MB / 0.9512 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.0008856/0.9265, allocations: 0.9877 MB / 1.236 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009122/0.9274, allocations: 0.6697 MB / 1.236 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9274, allocations: 0 / 1.236 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.9276, allocations: 152.3 kB / 1.236 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.9282, allocations: 69.86 kB / 1.237 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/0.9333, allocations: 3.834 MB / 1.24 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.9338, allocations: 0.7837 MB / 1.241 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000175/0.934, allocations: 71.22 kB / 1.241 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.9341, allocations: 119.4 kB / 1.241 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.9341, allocations: 0 / 1.241 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.9666, allocations: 8.437 MB / 1.249 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/9.603, allocations: 9.531 kB / 1.249 GB, free: 3.383 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches