Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001853/0.001853, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001541, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.7 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.48 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4017, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002748/0.4045, allocations: 1.141 MB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001831/0.4063, allocations: 1.513 MB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.105e-05/0.4064, allocations: 3.938 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.4066, allocations: 35.61 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.4067, allocations: 51.5 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.4078, allocations: 487.3 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000529/0.4083, allocations: 0.6245 MB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.4086, allocations: 144.5 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.4088, allocations: 235.4 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.409, allocations: 183.4 kB / 1.073 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-05/0.4091, allocations: 60 kB / 1.073 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.4093, allocations: 75.98 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.418e-05/0.4094, allocations: 79.64 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.4096, allocations: 227.1 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.4102, allocations: 0.6078 MB / 1.074 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.4102, allocations: 0 / 1.074 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.836e-06/0.4102, allocations: 7.938 kB / 1.074 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.4102, allocations: 3.938 kB / 1.074 GB, free: 4.953 MB / 0.8262 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.0009105/0.4111, allocations: 0.7433 MB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4112, allocations: 8.031 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.4113, allocations: 48.56 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/0.4123, allocations: 396 kB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.4123, allocations: 28.8 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.547e-05/0.4124, allocations: 36.38 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.4128, allocations: 259.7 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4128, allocations: 3.938 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.4128, allocations: 8 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4128, allocations: 4 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.4131, allocations: 169.6 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.4143, allocations: 0.8452 MB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.4146, allocations: 210.8 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.4149, allocations: 212.7 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.4149, allocations: 8 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.4152, allocations: 244.9 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.794e-06/0.4152, allocations: 0 / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=28): time 0.0006589/0.4159, allocations: 433.5 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.857e-05/0.416, allocations: 118.8 kB / 1.077 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.4163, allocations: 324.3 kB / 1.078 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.4164, allocations: 37.7 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.4165, allocations: 184.5 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.4166, allocations: 51.31 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.4168, allocations: 145.9 kB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4169, allocations: 346.8 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.4173, allocations: 204.7 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.4177, allocations: 325 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/0.4183, allocations: 0.5311 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4183, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001026/0.4193, allocations: 0.7362 MB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.911e-05/0.4194, allocations: 126.8 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4194, allocations: 7.984 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4194, allocations: 4 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.4196, allocations: 55.92 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.4197, allocations: 15.86 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.4203, allocations: 131.8 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.897e-05/0.4204, allocations: 67.86 kB / 1.08 GB, free: 13.54 MB / 0.8419 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.0002063/0.4206, allocations: 194.2 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.4206, allocations: 35.61 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.4212, allocations: 365.4 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4212, allocations: 8 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4212, allocations: 3.938 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4212, allocations: 3.938 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.422, allocations: 0.7441 MB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.422, allocations: 4 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.4222, allocations: 47.84 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4222, allocations: 4 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.4222, allocations: 8 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4222, allocations: 0 / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4222, allocations: 0 / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.4227, allocations: 435.4 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.4227, allocations: 108.6 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4228, allocations: 7.984 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.4229, allocations: 12 kB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.423, allocations: 23.97 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.423, allocations: 12 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002051/0.4232, allocations: 215 kB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4232, allocations: 0 / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003865/0.4236, allocations: 99.84 kB / 1.083 GB, free: 11.13 MB / 0.8419 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.0002151/0.4238, allocations: 131.3 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009562/0.4248, allocations: 0.7004 MB / 1.083 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4248, allocations: 0 / 1.083 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.425, allocations: 143.8 kB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.4255, allocations: 85.72 kB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/0.4263, allocations: 0.5792 MB / 1.084 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.4267, allocations: 0.7769 MB / 1.085 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.4269, allocations: 75.22 kB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.4269, allocations: 35.44 kB / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.4269, allocations: 0 / 1.085 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of Templates: time 0.01031/0.4372, allocations: 5.503 MB / 1.09 GB, free: 3.074 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches