Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001336/0.001336, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.001405/0.001405, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437 MB / 0.711 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 64.58 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2841, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002558/0.2867, allocations: 1.146 MB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.2888, allocations: 1.514 MB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.2889, allocations: 4 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.2891, allocations: 35.61 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.2892, allocations: 51.52 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.2903, allocations: 495.9 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.2909, allocations: 0.6089 MB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002938/0.2912, allocations: 160.3 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.2914, allocations: 219.5 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.2916, allocations: 199.2 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.103e-05/0.2917, allocations: 60 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.2918, allocations: 75.98 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.2919, allocations: 71.77 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.2922, allocations: 231 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.2927, allocations: 0.6079 MB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2928, allocations: 0 / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2928, allocations: 0 / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2928, allocations: 4 kB / 1.023 GB, free: 5.207 MB / 0.795 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.0008983/0.2937, allocations: 0.7395 MB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2937, allocations: 8.922 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.2939, allocations: 56.39 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.2949, allocations: 396 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.295, allocations: 28.81 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.868e-05/0.295, allocations: 44.3 kB / 1.025 GB, free: 3.828 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.2955, allocations: 255.8 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2955, allocations: 3.938 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.2955, allocations: 8 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2955, allocations: 7.938 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.2958, allocations: 153.7 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.297, allocations: 0.849 MB / 1.026 GB, free: 2.508 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.2974, allocations: 222.7 kB / 1.026 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.2976, allocations: 212.7 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.2976, allocations: 0 / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003365/0.298, allocations: 247.9 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.298, allocations: 0 / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of matching and sorting (n=28): time 0.0006709/0.2987, allocations: 430.2 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.2988, allocations: 122.7 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.2991, allocations: 312.4 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.2992, allocations: 45.7 kB / 1.027 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.2993, allocations: 180.5 kB / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.2994, allocations: 67.19 kB / 1.028 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.2996, allocations: 145.9 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2997, allocations: 346.8 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.3001, allocations: 208.8 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.3005, allocations: 324.9 kB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.3012, allocations: 0.5311 MB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3012, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001074/0.3023, allocations: 0.736 MB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-05/0.3024, allocations: 123.2 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.3024, allocations: 8 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3024, allocations: 8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.3026, allocations: 55.91 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3026, allocations: 7.938 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.3033, allocations: 131.5 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.3034, allocations: 71.86 kB / 1.03 GB, free: 13.76 MB / 0.8106 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.0002196/0.3036, allocations: 196.1 kB / 1.03 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.3037, allocations: 31.61 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005074/0.3042, allocations: 361.2 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.3042, allocations: 4 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3042, allocations: 3.938 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.84e-06/0.3042, allocations: 3.984 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008722/0.3051, allocations: 0.7495 MB / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3051, allocations: 0 / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.3053, allocations: 43.8 kB / 1.031 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3053, allocations: 0 / 1.031 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.3053, allocations: 11.98 kB / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3053, allocations: 4 kB / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3053, allocations: 4 kB / 1.031 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.3058, allocations: 427.8 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.3059, allocations: 112.5 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.3059, allocations: 8 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3061, allocations: 11.98 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.3061, allocations: 23.97 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.3061, allocations: 12 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002045/0.3063, allocations: 215.1 kB / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3064, allocations: 0 / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004159/0.3068, allocations: 99.92 kB / 1.032 GB, free: 11.38 MB / 0.8106 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.000189/0.307, allocations: 121.4 kB / 1.032 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0009502/0.3079, allocations: 0.7085 MB / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3079, allocations: 0 / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.3082, allocations: 147.8 kB / 1.033 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.3087, allocations: 89.39 kB / 1.033 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.3096, allocations: 0.6135 MB / 1.034 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.31, allocations: 0.7769 MB / 1.035 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.31, allocations: 43.42 kB / 1.035 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.31, allocations: 0 / 1.035 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of Templates: time 0.007578/0.3176, allocations: 4.957 MB / 1.04 GB, free: 3.844 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches