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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007578/0.007578, allocations: 97.36 kB / 15.73 MB, free: 6.039 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.002033/0.002033, allocations: 202.2 kB / 16.68 MB, free: 5.961 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.88 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3074, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002446/0.3099, allocations: 1.146 MB / 1.243 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.312, allocations: 1.509 MB / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.3122, allocations: 4 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3124, allocations: 35.59 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.3125, allocations: 55.45 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.3137, allocations: 488.3 kB / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007638/0.3145, allocations: 0.6323 MB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.3148, allocations: 144.5 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000307/0.3151, allocations: 227.5 kB / 1.246 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.3154, allocations: 215.2 kB / 1.246 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3156, allocations: 60 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3157, allocations: 79.97 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.3159, allocations: 71.77 kB / 1.246 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.3161, allocations: 223.1 kB / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007038/0.3168, allocations: 0.6345 MB / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3169, allocations: 0 / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3169, allocations: 0 / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3169, allocations: 0 / 1.247 GB, free: 4.688 MB / 0.9981 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.0009829/0.3179, allocations: 0.7547 MB / 1.248 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3179, allocations: 8.031 kB / 1.248 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.318, allocations: 58.67 kB / 1.248 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3181, allocations: 48.7 kB / 1.248 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.3191, allocations: 404.1 kB / 1.248 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.3192, allocations: 24.81 kB / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.3192, allocations: 40.36 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.3197, allocations: 251.5 kB / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3197, allocations: 0 / 1.248 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.3197, allocations: 12 kB / 1.248 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3197, allocations: 4 kB / 1.248 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002691/0.32, allocations: 161.6 kB / 1.249 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.3213, allocations: 0.8531 MB / 1.249 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.3217, allocations: 218.8 kB / 1.25 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.322, allocations: 214.7 kB / 1.25 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.322, allocations: 8 kB / 1.25 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.3224, allocations: 244.8 kB / 1.25 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 4.849e-06/0.3224, allocations: 0 / 1.25 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.0007218/0.3231, allocations: 439.8 kB / 1.25 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.3232, allocations: 118.7 kB / 1.251 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.3235, allocations: 324.4 kB / 1.251 GB, free: 316 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/0.3236, allocations: 41.7 kB / 1.251 GB, free: 268 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.3238, allocations: 172.8 kB / 1.251 GB, free: 92 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.3238, allocations: 67.52 kB / 1.251 GB, free: 24 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.5173/0.8411, allocations: 139.6 kB / 1.251 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.8412, allocations: 345.1 kB / 1.252 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.8416, allocations: 209.2 kB / 1.252 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.842, allocations: 321.3 kB / 1.252 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.8426, allocations: 0.529 MB / 1.253 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8426, allocations: 1.812 kB / 1.253 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001127/0.8438, allocations: 0.7452 MB / 1.253 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.8438, allocations: 124.6 kB / 1.253 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.8439, allocations: 3.5 kB / 1.253 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.8439, allocations: 5.062 kB / 1.253 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.8441, allocations: 63.48 kB / 1.254 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.8441, allocations: 13.77 kB / 1.254 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006958/0.8448, allocations: 131.3 kB / 1.254 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.845, allocations: 69.67 kB / 1.254 GB, free: 13.95 MB / 0.9981 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.0002067/0.8452, allocations: 185.9 kB / 1.254 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.8452, allocations: 31.33 kB / 1.254 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.8458, allocations: 366.1 kB / 1.254 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.8458, allocations: 7.594 kB / 1.254 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8458, allocations: 0 / 1.254 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.8459, allocations: 2.328 kB / 1.254 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.8468, allocations: 0.7645 MB / 1.255 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8468, allocations: 0 / 1.255 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.8469, allocations: 36.45 kB / 1.255 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.8469, allocations: 1.344 kB / 1.255 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.8469, allocations: 9.031 kB / 1.255 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.847, allocations: 0.8438 kB / 1.255 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.847, allocations: 1.234 kB / 1.255 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.8474, allocations: 441.5 kB / 1.256 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.8475, allocations: 110.8 kB / 1.256 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.8476, allocations: 11.86 kB / 1.256 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.8477, allocations: 13.33 kB / 1.256 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.8478, allocations: 21.8 kB / 1.256 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.8478, allocations: 13.98 kB / 1.256 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000208/0.848, allocations: 214.2 kB / 1.256 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.848, allocations: 2.469 kB / 1.256 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004314/0.8484, allocations: 97.73 kB / 1.256 GB, free: 12.88 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.0007044/0.8492, allocations: 0.9852 MB / 1.257 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008275/0.85, allocations: 0.6675 MB / 1.258 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.85, allocations: 4 kB / 1.258 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.8502, allocations: 151.1 kB / 1.258 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.8507, allocations: 84.36 kB / 1.258 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004526/0.8553, allocations: 3.82 MB / 1.262 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.8555, allocations: 0.7789 MB / 1.262 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001921/0.8557, allocations: 72.23 kB / 1.262 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.8558, allocations: 111.1 kB / 1.262 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.8558, allocations: 0.5625 kB / 1.262 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.8864, allocations: 8.448 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.938, allocations: 2.438 kB / 1.271 GB, free: 7.695 MB / 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 400 --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