Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009886/0.009886, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001714/0.001714, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.413/1.413, 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 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 59.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002599/1.039, allocations: 1.159 MB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00228/1.042, allocations: 1.514 MB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/1.042, allocations: 7.938 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001905/1.042, allocations: 27.61 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/1.042, allocations: 67.5 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001348/1.044, allocations: 499.5 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008827/1.044, allocations: 0.6206 MB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/1.045, allocations: 140.4 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/1.045, allocations: 223.5 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/1.046, allocations: 219.2 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001499/1.046, allocations: 60 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/1.046, allocations: 75.98 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/1.046, allocations: 79.69 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002626/1.046, allocations: 223.1 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007024/1.047, allocations: 0.6311 MB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.047, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.793e-06/1.047, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.857e-05/1.047, allocations: 0 / 1.172 GB, free: 14.33 MB / 0.9044 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.001159/1.048, allocations: 0.7585 MB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.048, allocations: 12.92 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/1.048, allocations: 48.7 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/1.049, allocations: 400.1 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/1.05, allocations: 24.81 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/1.05, allocations: 36.38 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/1.05, allocations: 255.7 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.05, allocations: 3.938 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/1.05, allocations: 15.98 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/1.05, allocations: 4 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/1.05, allocations: 153.7 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/1.052, allocations: 0.8492 MB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/1.052, allocations: 222.7 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/1.053, allocations: 204.8 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/1.053, allocations: 7.938 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/1.053, allocations: 243.9 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 2.365e-06/1.053, allocations: 0 / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.0006932/1.054, allocations: 434.4 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/1.054, allocations: 118.7 kB / 1.176 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/1.054, allocations: 328.3 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.442e-05/1.054, allocations: 41.64 kB / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/1.054, allocations: 184.8 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/1.054, allocations: 63.58 kB / 1.176 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/1.054, allocations: 146 kB / 1.176 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.055, allocations: 342.8 kB / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/1.055, allocations: 208.7 kB / 1.177 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/1.055, allocations: 332.9 kB / 1.177 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/1.056, allocations: 0.5311 MB / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.056, allocations: 0 / 1.178 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001118/1.057, allocations: 0.7327 MB / 1.178 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/1.057, allocations: 131.1 kB / 1.179 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.057, allocations: 8 kB / 1.179 GB, free: 7.137 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.057, allocations: 4 kB / 1.179 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/1.058, allocations: 59.84 kB / 1.179 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/1.058, allocations: 7.938 kB / 1.179 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/1.058, allocations: 131.6 kB / 1.179 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.058, allocations: 63.92 kB / 1.179 GB, free: 6.875 MB / 0.9044 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.0002214/1.059, allocations: 201.6 kB / 1.179 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/1.059, allocations: 31.81 kB / 1.179 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/1.059, allocations: 362.3 kB / 1.179 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/1.059, allocations: 4 kB / 1.179 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.059, allocations: 3.938 kB / 1.179 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.059, allocations: 3.984 kB / 1.179 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009893/1.06, allocations: 0.7496 MB / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.06, allocations: 0 / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/1.06, allocations: 35.92 kB / 1.18 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.06, allocations: 4 kB / 1.18 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/1.06, allocations: 7.984 kB / 1.18 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.06, allocations: 4 kB / 1.18 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.06, allocations: 0 / 1.18 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/1.061, allocations: 428.5 kB / 1.181 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/1.061, allocations: 124.7 kB / 1.181 GB, free: 4.836 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/1.061, allocations: 12 kB / 1.181 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/1.061, allocations: 11.98 kB / 1.181 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.061, allocations: 23.97 kB / 1.181 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/1.061, allocations: 8 kB / 1.181 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002094/1.062, allocations: 219 kB / 1.181 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/1.062, allocations: 0 / 1.181 GB, free: 4.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004426/1.062, allocations: 99.88 kB / 1.181 GB, free: 4.473 MB / 0.9044 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.000213/1.062, allocations: 125.4 kB / 1.181 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009795/1.063, allocations: 0.6691 MB / 1.182 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.063, allocations: 4 kB / 1.182 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/1.063, allocations: 148.6 kB / 1.182 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/1.064, allocations: 76.08 kB / 1.182 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009609/1.065, allocations: 0.5791 MB / 1.183 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/1.065, allocations: 0.7846 MB / 1.183 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001769/1.066, allocations: 79.2 kB / 1.183 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/1.066, allocations: 31.44 kB / 1.184 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/1.066, allocations: 0 / 1.184 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of Templates: time 0.01136/1.077, allocations: 5.524 MB / 1.189 GB, free: 12.42 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches