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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001811/0.001811, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001828/0.001828, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.569/1.569, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.568/2.568, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 66.86 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3467, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00243/0.3491, allocations: 1.159 MB / 1.028 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3511, allocations: 1.514 MB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.3512, allocations: 4 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.3514, allocations: 27.61 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3515, allocations: 59.42 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.3526, allocations: 488 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005985/0.3533, allocations: 0.6245 MB / 1.031 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.3536, allocations: 156.4 kB / 1.031 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.3538, allocations: 231.4 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.3541, allocations: 223.1 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.66e-05/0.3542, allocations: 60 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3544, allocations: 67.98 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3545, allocations: 79.75 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.3547, allocations: 227.1 kB / 1.032 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.3553, allocations: 0.6192 MB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3553, allocations: 4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3553, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3553, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 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.001094/0.3564, allocations: 0.7395 MB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3565, allocations: 12.03 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.3566, allocations: 44.47 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.3576, allocations: 407.8 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.3577, allocations: 24.81 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.3578, allocations: 36.38 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.3582, allocations: 251.8 kB / 1.034 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3582, allocations: 3.938 kB / 1.034 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.3582, allocations: 8 kB / 1.034 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3582, allocations: 4 kB / 1.034 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.3585, allocations: 169.6 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.3597, allocations: 0.8412 MB / 1.035 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.3601, allocations: 222.7 kB / 1.035 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.3604, allocations: 212.7 kB / 1.035 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.3604, allocations: 0 / 1.035 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.3608, allocations: 248.5 kB / 1.035 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/0.3608, allocations: 4 kB / 1.035 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0007321/0.3615, allocations: 427 kB / 1.036 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.3616, allocations: 114.8 kB / 1.036 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.3619, allocations: 316.4 kB / 1.036 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.362, allocations: 45.69 kB / 1.036 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3622, allocations: 184.4 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.3622, allocations: 67.19 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.3625, allocations: 141.9 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3626, allocations: 346.8 kB / 1.037 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.3629, allocations: 204.7 kB / 1.037 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.3634, allocations: 329 kB / 1.037 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006775/0.3641, allocations: 0.5233 MB / 1.038 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3641, allocations: 3.984 kB / 1.038 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00109/0.3652, allocations: 0.7403 MB / 1.039 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/0.3653, allocations: 126.8 kB / 1.039 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.304e-05/0.3654, allocations: 4 kB / 1.039 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3654, allocations: 4 kB / 1.039 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.3656, allocations: 59.91 kB / 1.039 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3656, allocations: 12.28 kB / 1.039 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/0.3662, allocations: 127.5 kB / 1.039 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3663, allocations: 63.92 kB / 1.039 GB, free: 5.129 MB / 0.8106 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.0003245/0.3667, allocations: 193.7 kB / 1.039 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.3667, allocations: 43.53 kB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005854/0.3673, allocations: 362.5 kB / 1.04 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3673, allocations: 0 / 1.04 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3673, allocations: 3.938 kB / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3674, allocations: 4 kB / 1.04 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.3684, allocations: 0.7491 MB / 1.04 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3684, allocations: 4 kB / 1.04 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.3685, allocations: 39.86 kB / 1.04 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3685, allocations: 0 / 1.04 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.3686, allocations: 8 kB / 1.04 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3686, allocations: 4 kB / 1.04 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3686, allocations: 0 / 1.04 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.3691, allocations: 432.1 kB / 1.041 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.3691, allocations: 120.4 kB / 1.041 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3692, allocations: 11.98 kB / 1.041 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3693, allocations: 8 kB / 1.041 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.3694, allocations: 19.97 kB / 1.041 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.3694, allocations: 19.98 kB / 1.041 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002117/0.3696, allocations: 215.1 kB / 1.041 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3696, allocations: 0 / 1.041 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004334/0.3701, allocations: 91.94 kB / 1.041 GB, free: 2.723 MB / 0.8106 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.0001911/0.3703, allocations: 121.4 kB / 1.041 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008398/0.3711, allocations: 0.6775 MB / 1.042 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3711, allocations: 0 / 1.042 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.3713, allocations: 143.8 kB / 1.042 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.3718, allocations: 81.78 kB / 1.042 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.3727, allocations: 0.5792 MB / 1.043 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.373, allocations: 0.7769 MB / 1.043 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.3732, allocations: 71.23 kB / 1.044 GB, free: 172 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.3733, allocations: 39.42 kB / 1.044 GB, free: 136 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3733, allocations: 0 / 1.044 GB, free: 136 kB / 0.8106 GB Notification: Performance of Templates: time 0.01032/0.3836, allocations: 5.481 MB / 1.049 GB, free: 10.72 MB / 0.8262 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 -s cvode -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/jenkins1/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