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.001194/0.001194, allocations: 105.7 kB / 16.41 MB, free: 6.496 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.001113/0.001113, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.412/1.412, 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.249/2.249, allocations: 390.3 MB / 0.6655 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9907/0.992, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002433/0.9945, allocations: 1.158 MB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.9967, allocations: 1.498 MB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.9968, allocations: 3.531 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.997, allocations: 33.27 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.9971, allocations: 52.52 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.9984, allocations: 497 kB / 1.092 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008653/0.9993, allocations: 0.6185 MB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003432/0.9997, allocations: 151.7 kB / 1.093 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/1, allocations: 231.5 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/1, allocations: 219.4 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/1, allocations: 58.97 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/1.001, allocations: 70.06 kB / 1.093 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/1.001, allocations: 79.56 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/1.001, allocations: 220.8 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009576/1.002, allocations: 0.6248 MB / 1.094 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.002, allocations: 0.75 kB / 1.094 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.665e-06/1.002, allocations: 4.688 kB / 1.094 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.002, allocations: 3.938 kB / 1.094 GB, free: 2.355 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.00101/1.003, allocations: 0.748 MB / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.003, allocations: 8.688 kB / 1.095 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/1.003, allocations: 43.95 kB / 1.095 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.004, allocations: 407.8 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/1.004, allocations: 25.59 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.409e-05/1.005, allocations: 37.78 kB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/1.005, allocations: 255 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.005, allocations: 0 / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/1.005, allocations: 11.86 kB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/1.005, allocations: 5.688 kB / 1.095 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/1.005, allocations: 156.5 kB / 1.096 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/1.007, allocations: 0.8526 MB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/1.007, allocations: 219.2 kB / 1.097 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/1.008, allocations: 210 kB / 1.097 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/1.008, allocations: 1.562 kB / 1.097 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/1.008, allocations: 251.5 kB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/1.008, allocations: 0 / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0008262/1.009, allocations: 429.6 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/1.009, allocations: 120.6 kB / 1.098 GB, free: 176 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/1.01, allocations: 320.5 kB / 1.098 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/1.01, allocations: 43.14 kB / 1.098 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/1.01, allocations: 183.5 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/1.01, allocations: 57.86 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/1.01, allocations: 144.8 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.01, allocations: 349.3 kB / 1.099 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/1.011, allocations: 204.6 kB / 1.099 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005924/1.011, allocations: 332.4 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008105/1.012, allocations: 0.5291 MB / 1.1 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.012, allocations: 0.8438 kB / 1.1 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001538/1.014, allocations: 0.7354 MB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/1.014, allocations: 125.2 kB / 1.101 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.014, allocations: 4.766 kB / 1.101 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/1.014, allocations: 8.281 kB / 1.101 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/1.014, allocations: 58.72 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/1.014, allocations: 9.344 kB / 1.101 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/1.015, allocations: 132.6 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.015, allocations: 63.72 kB / 1.101 GB, free: 14.19 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.0002591/1.016, allocations: 192.3 kB / 1.101 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/1.016, allocations: 31.36 kB / 1.101 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006903/1.016, allocations: 376.5 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.016, allocations: 3.406 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.016, allocations: 4.938 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/1.016, allocations: 2.156 kB / 1.101 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/1.018, allocations: 0.7451 MB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/1.018, allocations: 0 / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/1.018, allocations: 37.08 kB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.018, allocations: 1.375 kB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/1.018, allocations: 12.42 kB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/1.018, allocations: 1.766 kB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.018, allocations: 1.688 kB / 1.102 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/1.018, allocations: 440.9 kB / 1.103 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.447e-05/1.019, allocations: 106.6 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/1.019, allocations: 7.578 kB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.019, allocations: 10.91 kB / 1.103 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/1.019, allocations: 32.89 kB / 1.103 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/1.019, allocations: 14.05 kB / 1.103 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002678/1.019, allocations: 213.2 kB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.019, allocations: 4 kB / 1.103 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005588/1.02, allocations: 95.42 kB / 1.103 GB, free: 12.89 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.0002127/1.02, allocations: 122.6 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00104/1.021, allocations: 0.6756 MB / 1.104 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.021, allocations: 4.125 kB / 1.104 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/1.021, allocations: 148.1 kB / 1.104 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/1.022, allocations: 86.66 kB / 1.104 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.023, allocations: 0.5963 MB / 1.105 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/1.023, allocations: 0.7768 MB / 1.105 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/1.023, allocations: 39.31 kB / 1.105 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/1.023, allocations: 0.9375 kB / 1.105 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of Templates: time 0.01113/1.035, allocations: 4.986 MB / 1.11 GB, free: 10.72 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