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.001437/0.001438, allocations: 103.2 kB / 16.35 MB, free: 5.824 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.001617/0.001617, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.606/2.606, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 68.08 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3266, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002608/0.3292, allocations: 1.151 MB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.3314, allocations: 1.518 MB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3316, allocations: 4 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.3318, allocations: 27.61 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.3319, allocations: 55.52 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.333, allocations: 497 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.3336, allocations: 0.6206 MB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00031/0.3339, allocations: 152.5 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.3341, allocations: 231.4 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.3344, allocations: 215.2 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.222e-05/0.3345, allocations: 60 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.3346, allocations: 75.97 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.567e-05/0.3347, allocations: 75.7 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.335, allocations: 223.1 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005939/0.3356, allocations: 0.6192 MB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.3356, allocations: 4 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3356, allocations: 4 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3356, allocations: 0 / 1.032 GB, free: 12.52 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.001011/0.3366, allocations: 0.7445 MB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3367, allocations: 8.031 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.3368, allocations: 52.41 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3378, allocations: 403.8 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.3379, allocations: 24.81 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-05/0.3379, allocations: 44.36 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.3384, allocations: 247.8 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3384, allocations: 3.938 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.3384, allocations: 15.98 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.3384, allocations: 4 kB / 1.034 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.3387, allocations: 153.7 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.3399, allocations: 0.8529 MB / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.3402, allocations: 218.7 kB / 1.035 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.3405, allocations: 208.6 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3405, allocations: 4 kB / 1.035 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/0.3408, allocations: 252.5 kB / 1.035 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=28): time 1.282e-06/0.3408, allocations: 0 / 1.035 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=28): time 0.0006654/0.3415, allocations: 431 kB / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.3416, allocations: 114.7 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.3419, allocations: 320.4 kB / 1.036 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.388e-05/0.3419, allocations: 41.7 kB / 1.036 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3421, allocations: 176.6 kB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.3421, allocations: 59.19 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.3424, allocations: 149.9 kB / 1.036 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3425, allocations: 342.8 kB / 1.037 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.3428, allocations: 208.6 kB / 1.037 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.3433, allocations: 327.9 kB / 1.037 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005981/0.3439, allocations: 0.5349 MB / 1.038 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3439, allocations: 4 kB / 1.038 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001042/0.345, allocations: 0.7328 MB / 1.039 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/0.345, allocations: 126.8 kB / 1.039 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3451, allocations: 4 kB / 1.039 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.3451, allocations: 4 kB / 1.039 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.3453, allocations: 59.91 kB / 1.039 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.3453, allocations: 7.938 kB / 1.039 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006011/0.3459, allocations: 135.4 kB / 1.039 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/0.346, allocations: 63.92 kB / 1.039 GB, free: 5.086 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.0002057/0.3462, allocations: 193.7 kB / 1.039 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.3463, allocations: 31.62 kB / 1.039 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.3468, allocations: 358.5 kB / 1.039 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.3468, allocations: 4 kB / 1.039 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3468, allocations: 3.938 kB / 1.039 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3468, allocations: 7.922 kB / 1.039 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008389/0.3477, allocations: 0.753 MB / 1.04 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3477, allocations: 0 / 1.04 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.3478, allocations: 43.86 kB / 1.04 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3478, allocations: 4 kB / 1.04 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3478, allocations: 11.98 kB / 1.04 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3479, allocations: 4 kB / 1.04 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3479, allocations: 0 / 1.04 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.3483, allocations: 428.2 kB / 1.041 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.3484, allocations: 112.5 kB / 1.041 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3484, allocations: 4 kB / 1.041 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3486, allocations: 11.98 kB / 1.041 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.3486, allocations: 27.97 kB / 1.041 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.3487, allocations: 11.94 kB / 1.041 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001891/0.3489, allocations: 211.1 kB / 1.041 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3489, allocations: 0 / 1.041 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003914/0.3493, allocations: 99.92 kB / 1.041 GB, free: 2.688 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.0001848/0.3494, allocations: 129.5 kB / 1.041 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008068/0.3503, allocations: 0.6696 MB / 1.042 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3503, allocations: 4.812 kB / 1.042 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.3505, allocations: 155.7 kB / 1.042 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.3509, allocations: 68.98 kB / 1.042 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.3518, allocations: 0.5826 MB / 1.043 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3521, allocations: 0.7769 MB / 1.043 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000144/0.3523, allocations: 71.22 kB / 1.044 GB, free: 132 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.3524, allocations: 35.44 kB / 1.044 GB, free: 100 kB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3524, allocations: 4 kB / 1.044 GB, free: 96 kB / 0.8106 GB Notification: Performance of Templates: time 0.009773/0.3621, allocations: 5.482 MB / 1.049 GB, free: 10.68 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 gbode -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