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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00161/0.00161, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 68.33 kB / 0.8984 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3076, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002466/0.3101, allocations: 1.186 MB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002136/0.3123, allocations: 1.587 MB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3124, allocations: 7.938 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.3126, allocations: 19.78 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3127, allocations: 43.64 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3137, allocations: 451 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.3142, allocations: 0.5152 MB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.3145, allocations: 144.4 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.3147, allocations: 191.4 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.315, allocations: 171.3 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-05/0.3151, allocations: 35.94 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.3152, allocations: 39.98 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.815e-05/0.3153, allocations: 71.69 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3155, allocations: 195.1 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.316, allocations: 0.5883 MB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3161, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3161, allocations: 4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3161, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 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.0009245/0.317, allocations: 0.7434 MB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.3171, allocations: 8.031 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.3172, allocations: 52.41 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3183, allocations: 400 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.3183, allocations: 28.8 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.3184, allocations: 36.38 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.3188, allocations: 247.8 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3188, allocations: 3.938 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.3189, allocations: 15.98 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3189, allocations: 7.938 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.3192, allocations: 161.6 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3206, allocations: 0.853 MB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.3209, allocations: 214.8 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.3212, allocations: 204.7 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3212, allocations: 7.938 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.3216, allocations: 245.3 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.3216, allocations: 0 / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0007047/0.3223, allocations: 438.9 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.3224, allocations: 110.8 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.3227, allocations: 320.4 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.3227, allocations: 41.7 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3229, allocations: 180.4 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.323, allocations: 67.19 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.3232, allocations: 145.9 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3233, allocations: 342.8 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.3237, allocations: 208.7 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.3242, allocations: 325 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.3248, allocations: 0.5311 MB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.3248, allocations: 0 / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001106/0.3259, allocations: 0.7325 MB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/0.326, allocations: 130.9 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.326, allocations: 0 / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3261, allocations: 11.98 kB / 1.064 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3263, allocations: 51.86 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.3263, allocations: 19.86 kB / 1.064 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.327, allocations: 131.5 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.3271, allocations: 63.92 kB / 1.064 GB, free: 12.18 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.0002185/0.3273, allocations: 193.6 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.3274, allocations: 31.62 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.3279, allocations: 357.2 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3279, allocations: 7.984 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3279, allocations: 3.938 kB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3279, allocations: 0 / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009003/0.3288, allocations: 0.7524 MB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3288, allocations: 7.938 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.329, allocations: 43.84 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.329, allocations: 4 kB / 1.065 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.329, allocations: 4 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.329, allocations: 8 kB / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.329, allocations: 0 / 1.065 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.3295, allocations: 427.8 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.3296, allocations: 120.5 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.923e-05/0.3297, allocations: 7.984 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3298, allocations: 8 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.3299, allocations: 23.97 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3299, allocations: 15.98 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002037/0.3302, allocations: 211.1 kB / 1.066 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3302, allocations: 0 / 1.066 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004098/0.3306, allocations: 95.94 kB / 1.066 GB, free: 9.785 MB / 0.8262 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.0002058/0.3308, allocations: 125.4 kB / 1.066 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008754/0.3317, allocations: 0.6691 MB / 1.067 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3317, allocations: 0 / 1.067 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.3319, allocations: 151.8 kB / 1.067 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.3325, allocations: 91.03 kB / 1.067 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009489/0.3334, allocations: 0.6458 MB / 1.068 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3338, allocations: 0.7849 MB / 1.069 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.334, allocations: 67.23 kB / 1.069 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.334, allocations: 39.42 kB / 1.069 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of SimCode: time 3.8e-07/0.334, allocations: 0 / 1.069 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of Templates: time 0.009608/0.3436, allocations: 5.234 MB / 1.074 GB, free: 1.941 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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