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: 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_9_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_9_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.001207/0.001207, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001241/0.001241, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.847, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002172/0.8492, allocations: 1.154 MB / 1.09 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.851, allocations: 1.502 MB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.8511, allocations: 3.312 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.8513, allocations: 29.23 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.8514, allocations: 52.95 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.8525, allocations: 497.7 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006569/0.8531, allocations: 0.6227 MB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.8534, allocations: 152.3 kB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.8537, allocations: 231 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.854, allocations: 214.9 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.8541, allocations: 60.38 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.8543, allocations: 72.97 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.8543, allocations: 79.75 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.8546, allocations: 221.3 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.8553, allocations: 0.6278 MB / 1.094 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8553, allocations: 1.594 kB / 1.094 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8553, allocations: 0 / 1.094 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.8553, allocations: 0 / 1.094 GB, free: 2.32 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.0008568/0.8562, allocations: 0.7475 MB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8562, allocations: 9.375 kB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.8563, allocations: 43.12 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009616/0.8573, allocations: 404.5 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.8574, allocations: 29.58 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/0.8575, allocations: 36.56 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.8579, allocations: 255.5 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8579, allocations: 0.7969 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.858, allocations: 7.734 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.858, allocations: 5.938 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.8583, allocations: 156.4 kB / 1.096 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.8597, allocations: 0.8534 MB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.86, allocations: 221.5 kB / 1.097 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.8603, allocations: 205.7 kB / 1.097 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.8604, allocations: 6.219 kB / 1.097 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003433/0.8607, allocations: 251.4 kB / 1.097 GB, free: 424 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.8607, allocations: 0 / 1.097 GB, free: 424 kB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0007515/0.8615, allocations: 429.3 kB / 1.098 GB, free: 280 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.8615, allocations: 121.5 kB / 1.098 GB, free: 140 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.8619, allocations: 319.4 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.536e-05/0.862, allocations: 43.84 kB / 1.098 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.8621, allocations: 183 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.8622, allocations: 57.67 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.8625, allocations: 145.3 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.8626, allocations: 345.6 kB / 1.099 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.863, allocations: 208.8 kB / 1.099 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.8635, allocations: 331.5 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006841/0.8642, allocations: 0.5299 MB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.8642, allocations: 1.438 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001241/0.8655, allocations: 0.7352 MB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.8656, allocations: 129 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.8656, allocations: 4.094 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.8656, allocations: 8.438 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.8658, allocations: 59.22 kB / 1.101 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.8659, allocations: 5.156 kB / 1.101 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.8666, allocations: 132.2 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.8667, allocations: 67.95 kB / 1.101 GB, free: 14.15 MB / 0.8731 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.0002401/0.867, allocations: 192.7 kB / 1.101 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.867, allocations: 31.61 kB / 1.101 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005733/0.8676, allocations: 371.9 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.8676, allocations: 7.688 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8676, allocations: 0.5312 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.8677, allocations: 2.562 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.8687, allocations: 0.7444 MB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.8688, allocations: 1.141 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.8689, allocations: 36.16 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.8689, allocations: 1.844 kB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.8689, allocations: 8.188 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.8689, allocations: 2.281 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.869, allocations: 4.609 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.8694, allocations: 437.8 kB / 1.103 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.8695, allocations: 111.2 kB / 1.103 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.8696, allocations: 7.531 kB / 1.103 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.8697, allocations: 10.78 kB / 1.103 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.8698, allocations: 24.73 kB / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.8698, allocations: 17.39 kB / 1.103 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002165/0.87, allocations: 218 kB / 1.103 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.87, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004375/0.8705, allocations: 95.05 kB / 1.103 GB, free: 12.86 MB / 0.8731 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.0001887/0.8707, allocations: 126.2 kB / 1.103 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009131/0.8716, allocations: 0.6798 MB / 1.104 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8716, allocations: 0 / 1.104 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.8718, allocations: 150.9 kB / 1.104 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.8724, allocations: 85.52 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.8735, allocations: 0.598 MB / 1.105 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.874, allocations: 0.7763 MB / 1.105 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.874, allocations: 40.61 kB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/0.8741, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.009503/0.8836, allocations: 4.982 MB / 1.11 GB, free: 10.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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