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.001723/0.001723, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001913/0.001913, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.629/2.629, allocations: 469.4 MB / 0.7423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.97 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2858, allocations: 159.1 MB / 1.064 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002451/0.2883, allocations: 1.19 MB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2903, allocations: 1.509 MB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.2904, allocations: 4 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.2906, allocations: 19.8 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.2907, allocations: 43.64 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2918, allocations: 466.5 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.2925, allocations: 0.6089 MB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.2928, allocations: 152.4 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.293, allocations: 223.4 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.2933, allocations: 191.3 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.2934, allocations: 60 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.2936, allocations: 79.92 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.977e-05/0.2936, allocations: 79.75 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.2939, allocations: 219.1 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.2943, allocations: 487.2 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2943, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2944, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.2944, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 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.0009684/0.2953, allocations: 0.7433 MB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2954, allocations: 12.56 kB / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.2955, allocations: 48.56 kB / 1.07 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.2965, allocations: 400 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.2966, allocations: 28.75 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.637e-05/0.2967, allocations: 36.38 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.2971, allocations: 247.8 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.2971, allocations: 3.938 kB / 1.07 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.2971, allocations: 23.92 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.2971, allocations: 4 kB / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.2974, allocations: 149.7 kB / 1.071 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2987, allocations: 0.853 MB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.299, allocations: 222.7 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.2993, allocations: 212.7 kB / 1.072 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.2993, allocations: 0 / 1.072 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.2996, allocations: 255.8 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.2996, allocations: 8 kB / 1.072 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28): time 0.0006613/0.3003, allocations: 423 kB / 1.072 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3004, allocations: 114.8 kB / 1.073 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.3007, allocations: 320.3 kB / 1.073 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.3007, allocations: 37.7 kB / 1.073 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3009, allocations: 188.4 kB / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.3009, allocations: 59.3 kB / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.3012, allocations: 145.9 kB / 1.073 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3013, allocations: 346.8 kB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.3017, allocations: 208.7 kB / 1.074 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.3021, allocations: 328.9 kB / 1.074 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.3027, allocations: 0.531 MB / 1.075 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3027, allocations: 0 / 1.075 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001083/0.3038, allocations: 0.7322 MB / 1.075 GB, free: 3.074 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/0.3039, allocations: 126.8 kB / 1.075 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.3039, allocations: 4 kB / 1.075 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3039, allocations: 4 kB / 1.075 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.3042, allocations: 55.91 kB / 1.076 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3042, allocations: 8.344 kB / 1.076 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.3048, allocations: 131.5 kB / 1.076 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.3049, allocations: 71.86 kB / 1.076 GB, free: 2.656 MB / 0.8419 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.0002206/0.3052, allocations: 197.6 kB / 1.076 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.3052, allocations: 27.62 kB / 1.076 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005191/0.3057, allocations: 369.9 kB / 1.076 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3057, allocations: 4 kB / 1.076 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3058, allocations: 3.938 kB / 1.076 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3058, allocations: 3.984 kB / 1.076 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.3066, allocations: 0.7522 MB / 1.077 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3067, allocations: 3.938 kB / 1.077 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.3068, allocations: 39.86 kB / 1.077 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3068, allocations: 0 / 1.077 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3068, allocations: 8 kB / 1.077 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3068, allocations: 3.984 kB / 1.077 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3068, allocations: 4 kB / 1.077 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.3073, allocations: 423 kB / 1.078 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.3074, allocations: 120.6 kB / 1.078 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.3074, allocations: 11.94 kB / 1.078 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3076, allocations: 11.98 kB / 1.078 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.3076, allocations: 15.98 kB / 1.078 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.3076, allocations: 11.98 kB / 1.078 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002022/0.3078, allocations: 219.1 kB / 1.078 GB, free: 364 kB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3079, allocations: 0 / 1.078 GB, free: 364 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004102/0.3083, allocations: 95.84 kB / 1.078 GB, free: 268 kB / 0.8419 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.0001651/0.3084, allocations: 129.4 kB / 1.078 GB, free: 128 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4287/0.7372, allocations: 0.705 MB / 1.079 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7372, allocations: 2.25 kB / 1.079 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.7375, allocations: 152.6 kB / 1.079 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.7381, allocations: 77.38 kB / 1.079 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.7392, allocations: 0.6815 MB / 1.08 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.7395, allocations: 0.7758 MB / 1.08 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.7395, allocations: 45.95 kB / 1.08 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of SimCode: time 1.122e-06/0.7396, allocations: 0 / 1.08 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.01008/0.7496, allocations: 4.953 MB / 1.085 GB, free: 21.03 MB / 0.8419 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/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