Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_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.005114/0.005114, allocations: 99.64 kB / 15.73 MB, free: 6.02 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.001222/0.001222, allocations: 190.8 kB / 16.67 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 70.86 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2945, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002633/0.2972, allocations: 1.148 MB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2995, allocations: 1.511 MB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.2997, allocations: 4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.3, allocations: 27.61 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.3001, allocations: 55.5 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.3014, allocations: 499.6 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008093/0.3022, allocations: 0.6206 MB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.3025, allocations: 147.2 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.3029, allocations: 223.5 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003962/0.3033, allocations: 223.1 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.3035, allocations: 64 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001926/0.3037, allocations: 79.98 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.3038, allocations: 75.77 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.3041, allocations: 231 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.3048, allocations: 0.6239 MB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3048, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3049, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.3049, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 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.001237/0.3061, allocations: 0.7433 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3062, allocations: 8.031 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.426e-05/0.3063, allocations: 58.73 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.3064, allocations: 48.55 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.3075, allocations: 399.9 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.3076, allocations: 28.8 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/0.3077, allocations: 40.12 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.3081, allocations: 251.2 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3081, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.3082, allocations: 12 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3082, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.3085, allocations: 161.7 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.31, allocations: 0.8448 MB / 1.095 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.3104, allocations: 222.7 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.3107, allocations: 208 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3107, allocations: 4 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.3111, allocations: 251.7 kB / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.3111, allocations: 0 / 1.096 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0007817/0.3119, allocations: 434.2 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.312, allocations: 110.8 kB / 1.097 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.3124, allocations: 328.2 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/0.3125, allocations: 41.7 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3126, allocations: 184.5 kB / 1.097 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.3127, allocations: 55.3 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.3129, allocations: 145.9 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3131, allocations: 338.8 kB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.3135, allocations: 212.6 kB / 1.098 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.3139, allocations: 332.7 kB / 1.098 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000727/0.3147, allocations: 0.5271 MB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3147, allocations: 4 kB / 1.099 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001147/0.3158, allocations: 0.7325 MB / 1.099 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.3159, allocations: 127.2 kB / 1.099 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.316, allocations: 15.88 kB / 1.099 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.316, allocations: 4 kB / 1.099 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.3162, allocations: 55.92 kB / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.3162, allocations: 7.984 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006781/0.3169, allocations: 135.3 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.317, allocations: 63.92 kB / 1.1 GB, free: 4.973 MB / 0.8575 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.0002369/0.3173, allocations: 197.7 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.3173, allocations: 35.62 kB / 1.1 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005486/0.3179, allocations: 369.8 kB / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3179, allocations: 4 kB / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3179, allocations: 0 / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3179, allocations: 0 / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3189, allocations: 0.7485 MB / 1.101 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3189, allocations: 7.984 kB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3191, allocations: 35.92 kB / 1.101 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.3192, allocations: 4 kB / 1.101 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.3192, allocations: 8 kB / 1.101 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3192, allocations: 0 / 1.101 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3192, allocations: 0 / 1.101 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000639/0.3199, allocations: 436.5 kB / 1.102 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.733e-05/0.32, allocations: 104.7 kB / 1.102 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.32, allocations: 11.98 kB / 1.102 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3202, allocations: 8 kB / 1.102 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.3203, allocations: 23.97 kB / 1.102 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.3203, allocations: 19.88 kB / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002355/0.3206, allocations: 215 kB / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3206, allocations: 0 / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004573/0.3211, allocations: 95.84 kB / 1.102 GB, free: 2.578 MB / 0.8575 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.00114/0.3222, allocations: 0.9878 MB / 1.103 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009611/0.3232, allocations: 0.6698 MB / 1.104 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3232, allocations: 192 / 1.104 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.3234, allocations: 148.7 kB / 1.104 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.3239, allocations: 74.52 kB / 1.104 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005074/0.329, allocations: 3.823 MB / 1.108 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3294, allocations: 0.7798 MB / 1.108 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.3296, allocations: 79.2 kB / 1.108 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.3298, allocations: 111.4 kB / 1.108 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.3298, allocations: 0 / 1.108 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.3604, allocations: 8.61 MB / 1.117 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.594, allocations: 14.94 kB / 1.117 GB, free: 3.195 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches