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.01123/0.01123, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.00222/0.00222, allocations: 194.2 kB / 16.67 MB, free: 5.48 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.448/2.448, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.89 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.153, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002491/1.156, allocations: 1.157 MB / 1.089 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002261/1.158, allocations: 1.502 MB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/1.158, allocations: 7.031 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/1.159, allocations: 29.72 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/1.159, allocations: 68.06 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001218/1.16, allocations: 489.3 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000807/1.161, allocations: 0.6185 MB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/1.161, allocations: 152.9 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/1.161, allocations: 227.5 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/1.162, allocations: 223.1 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/1.162, allocations: 59.66 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/1.162, allocations: 73.59 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/1.162, allocations: 79 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/1.163, allocations: 221.3 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009586/1.164, allocations: 0.627 MB / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.164, allocations: 0 / 1.093 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.164, allocations: 5.062 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.787e-06/1.164, allocations: 0 / 1.093 GB, free: 2.309 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.001119/1.165, allocations: 0.7552 MB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.165, allocations: 13.19 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/1.165, allocations: 44.53 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/1.166, allocations: 407.6 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/1.166, allocations: 25.62 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.923e-05/1.166, allocations: 36.77 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/1.167, allocations: 252.2 kB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.167, allocations: 0 / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/1.167, allocations: 11.86 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/1.167, allocations: 5.031 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/1.167, allocations: 165.4 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/1.169, allocations: 0.8498 MB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/1.169, allocations: 213.8 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/1.169, allocations: 212.6 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/1.169, allocations: 2.25 kB / 1.096 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/1.17, allocations: 251.5 kB / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/1.17, allocations: 0 / 1.096 GB, free: 404 kB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0008728/1.171, allocations: 434.5 kB / 1.097 GB, free: 256 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/1.171, allocations: 116 kB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/1.171, allocations: 332 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/1.171, allocations: 43.64 kB / 1.097 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/1.171, allocations: 179.6 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/1.172, allocations: 69.83 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002814/1.172, allocations: 140.7 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.172, allocations: 342 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/1.172, allocations: 208.8 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/1.173, allocations: 335.2 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/1.174, allocations: 0.5297 MB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.174, allocations: 0.5938 kB / 1.099 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001463/1.175, allocations: 0.7399 MB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/1.175, allocations: 126.6 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.175, allocations: 2.406 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/1.175, allocations: 13.06 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/1.176, allocations: 55.42 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/1.176, allocations: 9.031 kB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/1.176, allocations: 132.6 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/1.177, allocations: 64 kB / 1.1 GB, free: 14.12 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.0003096/1.177, allocations: 195.2 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/1.177, allocations: 36.33 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/1.178, allocations: 364.4 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/1.178, allocations: 3.219 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.178, allocations: 1.406 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.178, allocations: 6.125 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/1.179, allocations: 0.7487 MB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.179, allocations: 1.375 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/1.179, allocations: 36.42 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.179, allocations: 2.188 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/1.179, allocations: 7.812 kB / 1.102 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.179, allocations: 1.406 kB / 1.102 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.179, allocations: 0.6562 kB / 1.102 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/1.18, allocations: 442 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/1.18, allocations: 114.6 kB / 1.102 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/1.18, allocations: 12.09 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/1.18, allocations: 10.11 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/1.18, allocations: 21.95 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/1.18, allocations: 9.922 kB / 1.102 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002492/1.181, allocations: 217.5 kB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.181, allocations: 0 / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006165/1.181, allocations: 102.6 kB / 1.102 GB, free: 12.82 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.0002732/1.182, allocations: 129.4 kB / 1.103 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001222/1.183, allocations: 0.6754 MB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.183, allocations: 1.344 kB / 1.103 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002496/1.183, allocations: 149 kB / 1.103 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/1.184, allocations: 77.19 kB / 1.103 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/1.185, allocations: 0.5674 MB / 1.104 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/1.185, allocations: 0.7805 MB / 1.105 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002254/1.186, allocations: 72.23 kB / 1.105 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/1.186, allocations: 38.36 kB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of SimCode: time 9.02e-07/1.186, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.01481/1.201, allocations: 5.502 MB / 1.11 GB, free: 10.77 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/jenkins/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