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.006852/0.006852, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.001528/0.001528, allocations: 196.3 kB / 16.68 MB, free: 5.523 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.64/2.64, allocations: 482.6 MB / 0.755 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 64.12 kB / 1.083 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5967/0.5985, allocations: 162.3 MB / 1.242 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002021/0.6006, allocations: 1.131 MB / 1.243 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.6023, allocations: 1.517 MB / 1.244 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.6023, allocations: 7.938 kB / 1.244 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.6025, allocations: 27.61 kB / 1.244 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.932e-05/0.6026, allocations: 55.5 kB / 1.245 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009423/0.6035, allocations: 0.4932 MB / 1.245 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000559/0.6041, allocations: 0.6128 MB / 1.246 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.6043, allocations: 148.4 kB / 1.246 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.6045, allocations: 223.5 kB / 1.246 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.6048, allocations: 215.2 kB / 1.246 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.6049, allocations: 64 kB / 1.246 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.605, allocations: 83.92 kB / 1.246 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.6051, allocations: 71.77 kB / 1.246 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.6053, allocations: 231 kB / 1.247 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.6059, allocations: 0.6226 MB / 1.247 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6059, allocations: 0 / 1.247 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6059, allocations: 0 / 1.247 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.6059, allocations: 0 / 1.247 GB, free: 11.64 MB / 0.9669 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.0008385/0.6068, allocations: 0.7586 MB / 1.248 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.6068, allocations: 12.03 kB / 1.248 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.281e-05/0.6069, allocations: 54.73 kB / 1.248 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/0.607, allocations: 52.69 kB / 1.248 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008601/0.6078, allocations: 400.1 kB / 1.248 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.6079, allocations: 28.8 kB / 1.248 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.6079, allocations: 40.31 kB / 1.249 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.6083, allocations: 259.5 kB / 1.249 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.6083, allocations: 0 / 1.249 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.6084, allocations: 12 kB / 1.249 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.6084, allocations: 4 kB / 1.249 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.6086, allocations: 153.7 kB / 1.249 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.6097, allocations: 0.8492 MB / 1.25 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.6101, allocations: 222.7 kB / 1.25 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.6103, allocations: 208.7 kB / 1.25 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.6103, allocations: 4 kB / 1.25 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.6107, allocations: 253 kB / 1.25 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=28): time 1.273e-06/0.6107, allocations: 0 / 1.25 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=28): time 0.000629/0.6113, allocations: 431.2 kB / 1.251 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.6114, allocations: 110.8 kB / 1.251 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.6117, allocations: 324.4 kB / 1.251 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.132e-05/0.6117, allocations: 37.7 kB / 1.251 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.6119, allocations: 192.7 kB / 1.251 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.6119, allocations: 55.55 kB / 1.252 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.6121, allocations: 146 kB / 1.252 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6123, allocations: 342.8 kB / 1.252 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.6126, allocations: 208.7 kB / 1.252 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.6131, allocations: 336.9 kB / 1.252 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.6137, allocations: 0.5311 MB / 1.253 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6137, allocations: 4 kB / 1.253 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001037/0.6147, allocations: 0.7326 MB / 1.254 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/0.6148, allocations: 127.2 kB / 1.254 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.6148, allocations: 8 kB / 1.254 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6148, allocations: 7.984 kB / 1.254 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.615, allocations: 55.86 kB / 1.254 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.615, allocations: 7.984 kB / 1.254 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/0.6156, allocations: 135.6 kB / 1.254 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.6157, allocations: 67.86 kB / 1.254 GB, free: 4.109 MB / 0.9669 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.0001865/0.6159, allocations: 190.2 kB / 1.254 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.616, allocations: 31.81 kB / 1.254 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.6165, allocations: 373.4 kB / 1.255 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6165, allocations: 7.938 kB / 1.255 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6165, allocations: 0 / 1.255 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6165, allocations: 0 / 1.255 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008027/0.6173, allocations: 0.7487 MB / 1.255 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6173, allocations: 3.938 kB / 1.255 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.6174, allocations: 39.91 kB / 1.255 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.6174, allocations: 7.938 kB / 1.255 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.6175, allocations: 4 kB / 1.255 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6175, allocations: 4 kB / 1.255 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.6175, allocations: 0 / 1.255 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.6179, allocations: 428.8 kB / 1.256 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.618, allocations: 120.8 kB / 1.256 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.6181, allocations: 11.98 kB / 1.256 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6182, allocations: 8 kB / 1.256 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.6182, allocations: 23.97 kB / 1.256 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.6182, allocations: 8 kB / 1.256 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001951/0.6184, allocations: 219 kB / 1.256 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6184, allocations: 0 / 1.256 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003452/0.6188, allocations: 95.89 kB / 1.256 GB, free: 1.715 MB / 0.9669 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.0007689/0.6196, allocations: 0.9876 MB / 1.257 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008018/0.6204, allocations: 0.6702 MB / 1.258 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6204, allocations: 4.25 kB / 1.258 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.6206, allocations: 144.4 kB / 1.258 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.621, allocations: 80.97 kB / 1.258 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/0.6254, allocations: 3.83 MB / 1.262 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.6257, allocations: 0.7838 MB / 1.263 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.6259, allocations: 75.22 kB / 1.263 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.626, allocations: 111.4 kB / 1.263 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.626, allocations: 0 / 1.263 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.759/3.385, allocations: 8.441 MB / 1.271 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/19.08, allocations: 4.75 kB / 1.271 GB, free: 2.52 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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