Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009185/0.009185, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.00172/0.00172, allocations: 202.5 kB / 16.68 MB, free: 5.969 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.821/2.821, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3931, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00272/0.3959, allocations: 1.154 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.3982, allocations: 1.513 MB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.3984, allocations: 4 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.3985, allocations: 31.61 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.3987, allocations: 67.5 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.4, allocations: 493.6 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007423/0.4007, allocations: 0.5894 MB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.401, allocations: 120.5 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.4013, allocations: 227.5 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.4016, allocations: 219.2 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.4018, allocations: 60 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.4019, allocations: 71.98 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.554e-05/0.402, allocations: 79.64 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.4023, allocations: 231 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006398/0.4029, allocations: 0.6189 MB / 1.226 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.4029, allocations: 4 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4029, allocations: 0 / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.4029, allocations: 0 / 1.226 GB, free: 8.34 MB / 0.9825 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.001096/0.404, allocations: 0.7508 MB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4041, allocations: 12.03 kB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.4042, allocations: 48.69 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009879/0.4052, allocations: 404.1 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/0.4052, allocations: 32.78 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.4053, allocations: 36.38 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.4057, allocations: 251.8 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4057, allocations: 3.938 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.4058, allocations: 12 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4058, allocations: 4 kB / 1.227 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002487/0.406, allocations: 157.7 kB / 1.228 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.4073, allocations: 0.8453 MB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003559/0.4077, allocations: 210.7 kB / 1.229 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.408, allocations: 196.6 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.408, allocations: 4 kB / 1.229 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.4084, allocations: 260.5 kB / 1.229 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 2.515e-06/0.4084, allocations: 4 kB / 1.229 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0008632/0.4093, allocations: 427.1 kB / 1.229 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.4094, allocations: 114.8 kB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.4098, allocations: 316.5 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.4099, allocations: 41.7 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.4101, allocations: 184.8 kB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.4102, allocations: 67.52 kB / 1.23 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.4105, allocations: 146 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4106, allocations: 338.8 kB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.4111, allocations: 208.7 kB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.4115, allocations: 328.9 kB / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006476/0.4122, allocations: 0.531 MB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4122, allocations: 0 / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001111/0.4133, allocations: 0.7488 MB / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/0.4134, allocations: 128.9 kB / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4134, allocations: 8 kB / 1.233 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4134, allocations: 4 kB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4136, allocations: 59.91 kB / 1.233 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.4136, allocations: 7.938 kB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.4142, allocations: 131.5 kB / 1.233 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4144, allocations: 75.86 kB / 1.233 GB, free: 0.8828 MB / 0.9825 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.0002287/0.4146, allocations: 189.6 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.4146, allocations: 31.81 kB / 1.233 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/0.4151, allocations: 369.4 kB / 1.233 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.4152, allocations: 7.984 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4152, allocations: 3.938 kB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.4152, allocations: 0 / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008899/0.4161, allocations: 0.7525 MB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4161, allocations: 3.984 kB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.4162, allocations: 43.86 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4162, allocations: 0 / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.4162, allocations: 8 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4162, allocations: 0 / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4162, allocations: 0 / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.4167, allocations: 428.9 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.4167, allocations: 116.8 kB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.4168, allocations: 11.98 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4169, allocations: 8 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.417, allocations: 19.97 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.417, allocations: 15.98 kB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000217/0.4172, allocations: 215.1 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4172, allocations: 0 / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004129/0.4176, allocations: 99.83 kB / 1.235 GB, free: 14.49 MB / 0.9981 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.0002272/0.4178, allocations: 124.6 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008344/0.4187, allocations: 0.6145 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4187, allocations: 0 / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.4189, allocations: 132.6 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.4194, allocations: 86.52 kB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.4204, allocations: 0.5785 MB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.4208, allocations: 0.7769 MB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00017/0.4209, allocations: 71.23 kB / 1.237 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.421, allocations: 39.42 kB / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/0.421, allocations: 0 / 1.237 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.0121/0.4331, allocations: 5.528 MB / 1.243 GB, free: 6.504 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches