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.01008/0.01008, allocations: 101.3 kB / 15.73 MB, free: 6.422 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.001511/0.001511, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.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.601/2.601, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 63.38 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4011, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002733/0.4039, allocations: 1.148 MB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002416/0.4063, allocations: 1.511 MB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.4066, allocations: 4 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.4068, allocations: 27.61 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.407, allocations: 63.44 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.4084, allocations: 496.3 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009455/0.4093, allocations: 0.6167 MB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.4098, allocations: 156.4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.4102, allocations: 227.5 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.4107, allocations: 223.2 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.4108, allocations: 60 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.411, allocations: 68 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.4111, allocations: 87.69 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.4114, allocations: 219.1 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008665/0.4123, allocations: 0.627 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.4123, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4123, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.599e-05/0.4124, allocations: 0 / 1.093 GB, free: 12 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.001528/0.4139, allocations: 0.7394 MB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.414, allocations: 15.97 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.4141, allocations: 40.56 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.4153, allocations: 399.9 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.4153, allocations: 28.8 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.4154, allocations: 36.38 kB / 1.095 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.4159, allocations: 259.2 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.4159, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.416, allocations: 8 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.416, allocations: 7.984 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.4162, allocations: 165.6 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.4178, allocations: 0.8448 MB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.4182, allocations: 226.7 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.4185, allocations: 206.9 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.4186, allocations: 3.938 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.4189, allocations: 247.8 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.4189, allocations: 0 / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0007692/0.4197, allocations: 434.2 kB / 1.097 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.4198, allocations: 118.7 kB / 1.097 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.4202, allocations: 316.4 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.4203, allocations: 41.7 kB / 1.097 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.4205, allocations: 188.5 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.4205, allocations: 59.28 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.4208, allocations: 141.9 kB / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4209, allocations: 346.8 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.4213, allocations: 204.7 kB / 1.098 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.4217, allocations: 328.7 kB / 1.098 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/0.4224, allocations: 0.5271 MB / 1.099 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4224, allocations: 8 kB / 1.099 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001143/0.4236, allocations: 0.7364 MB / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.875e-05/0.4237, allocations: 127.1 kB / 1.1 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4237, allocations: 8 kB / 1.1 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.4237, allocations: 7.938 kB / 1.1 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.4239, allocations: 59.91 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.424, allocations: 7.938 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.4247, allocations: 127.5 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.4248, allocations: 67.92 kB / 1.1 GB, free: 4.559 MB / 0.8575 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.0002708/0.4251, allocations: 201.6 kB / 1.1 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.4251, allocations: 31.62 kB / 1.1 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005689/0.4257, allocations: 365.9 kB / 1.101 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4257, allocations: 4 kB / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4257, allocations: 0 / 1.101 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4257, allocations: 4 kB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.4267, allocations: 0.7485 MB / 1.101 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4267, allocations: 0 / 1.101 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.4268, allocations: 43.92 kB / 1.101 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4268, allocations: 3.984 kB / 1.101 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.4268, allocations: 4 kB / 1.101 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4268, allocations: 0 / 1.101 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4269, allocations: 0 / 1.101 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.4273, allocations: 444.5 kB / 1.102 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.4274, allocations: 104.7 kB / 1.102 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.4275, allocations: 12 kB / 1.102 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4276, allocations: 7.984 kB / 1.102 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.4277, allocations: 23.97 kB / 1.102 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.4277, allocations: 12 kB / 1.102 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00023/0.428, allocations: 211.1 kB / 1.102 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.428, allocations: 4 kB / 1.102 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000447/0.4284, allocations: 99.83 kB / 1.102 GB, free: 2.164 MB / 0.8575 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.0002094/0.4286, allocations: 125.7 kB / 1.102 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009251/0.4296, allocations: 0.6769 MB / 1.103 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4296, allocations: 0 / 1.103 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.4298, allocations: 139.9 kB / 1.103 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.4303, allocations: 87.3 kB / 1.103 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.4313, allocations: 0.5638 MB / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.4317, allocations: 0.7885 MB / 1.105 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.4319, allocations: 71.23 kB / 1.105 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.432, allocations: 39.42 kB / 1.105 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.432, allocations: 0 / 1.105 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of Templates: time 0.01208/0.4441, allocations: 5.503 MB / 1.11 GB, free: 10.14 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