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.009059/0.009059, allocations: 101 kB / 15.73 MB, free: 6.039 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.001706/0.001706, allocations: 201.2 kB / 16.68 MB, free: 5.965 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.881/2.881, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 151.6 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002403/0.3353, allocations: 1.14 MB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.3373, allocations: 1.51 MB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.3374, allocations: 4 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.3376, allocations: 27.61 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3377, allocations: 55.5 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3388, allocations: 0.4901 MB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.3394, allocations: 0.6167 MB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.3397, allocations: 156.4 kB / 1.171 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.3399, allocations: 223.4 kB / 1.171 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.3401, allocations: 219.2 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.3402, allocations: 64 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3404, allocations: 75.92 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.092e-05/0.3405, allocations: 75.77 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.3407, allocations: 231 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.3413, allocations: 0.6228 MB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3413, allocations: 4 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3413, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3413, allocations: 0 / 1.172 GB, free: 1.285 MB / 0.92 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.0008792/0.3422, allocations: 0.7546 MB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3423, allocations: 16.03 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.3424, allocations: 44.7 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009241/0.3433, allocations: 404.2 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.3434, allocations: 24.81 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.3434, allocations: 36.36 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.3438, allocations: 251.8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3438, allocations: 7.938 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.3439, allocations: 8 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3439, allocations: 4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.3441, allocations: 157.7 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3453, allocations: 0.8491 MB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.3456, allocations: 226.7 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.3459, allocations: 210 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3459, allocations: 0 / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.3462, allocations: 245.5 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.262e-06/0.3462, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.000655/0.3469, allocations: 434.5 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.347, allocations: 118.7 kB / 1.176 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.3473, allocations: 328.3 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.3473, allocations: 37.7 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.3475, allocations: 188.7 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3476, allocations: 59.59 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.3478, allocations: 142 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3479, allocations: 346.8 kB / 1.177 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.3483, allocations: 208.6 kB / 1.177 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.3487, allocations: 325 kB / 1.177 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.3494, allocations: 0.5349 MB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3494, allocations: 4 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001058/0.3504, allocations: 0.7404 MB / 1.178 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.3505, allocations: 122.8 kB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3505, allocations: 4.406 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3506, allocations: 8 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3508, allocations: 59.91 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.3508, allocations: 11.88 kB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.3514, allocations: 139.5 kB / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/0.3516, allocations: 71.89 kB / 1.179 GB, free: 9.809 MB / 0.9356 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.0001975/0.3518, allocations: 185.8 kB / 1.179 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3518, allocations: 35.81 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.3523, allocations: 357.2 kB / 1.179 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3523, allocations: 4 kB / 1.179 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3523, allocations: 3.938 kB / 1.179 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3523, allocations: 7.984 kB / 1.179 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/0.3532, allocations: 0.7413 MB / 1.18 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3532, allocations: 4 kB / 1.18 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3533, allocations: 47.86 kB / 1.18 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3533, allocations: 0 / 1.18 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3534, allocations: 11.98 kB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3534, allocations: 0 / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3534, allocations: 0 / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004402/0.3538, allocations: 432.2 kB / 1.181 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.3539, allocations: 112.8 kB / 1.181 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.3539, allocations: 8 kB / 1.181 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3541, allocations: 11.98 kB / 1.181 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.3541, allocations: 27.91 kB / 1.181 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.3542, allocations: 12 kB / 1.181 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00019/0.3543, allocations: 211.1 kB / 1.181 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3544, allocations: 4 kB / 1.181 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00037/0.3547, allocations: 99.88 kB / 1.181 GB, free: 7.422 MB / 0.9356 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.0001702/0.3549, allocations: 125.5 kB / 1.181 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008045/0.3557, allocations: 0.6658 MB / 1.182 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.3557, allocations: 3.984 kB / 1.182 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.3559, allocations: 148.3 kB / 1.182 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.3564, allocations: 77.8 kB / 1.182 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.3573, allocations: 0.5868 MB / 1.183 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.3576, allocations: 0.7769 MB / 1.183 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.3578, allocations: 79.2 kB / 1.183 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.3578, allocations: 31.44 kB / 1.184 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3578, allocations: 0 / 1.184 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of Templates: time 0.01002/0.3679, allocations: 5.527 MB / 1.189 GB, free: 15.37 MB / 0.9512 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