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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001337/0.001337, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001294/0.001294, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.262/1.262, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7584, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002268/0.7607, allocations: 1.151 MB / 1.21 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.7626, allocations: 1.513 MB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.7628, allocations: 4 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.7629, allocations: 31.55 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.7631, allocations: 51.5 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.7642, allocations: 0.4888 MB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006819/0.7649, allocations: 0.6167 MB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.7652, allocations: 148.4 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.7655, allocations: 231.4 kB / 1.213 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.7658, allocations: 219.2 kB / 1.213 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.7659, allocations: 60 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.7661, allocations: 71.98 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.7662, allocations: 83.7 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.7664, allocations: 223.1 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.767, allocations: 0.6286 MB / 1.214 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.767, allocations: 3.938 kB / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.767, allocations: 0 / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.7671, allocations: 0 / 1.214 GB, free: 8.176 MB / 0.9356 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.0009683/0.768, allocations: 0.7432 MB / 1.215 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.7681, allocations: 12.03 kB / 1.215 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.7682, allocations: 40.56 kB / 1.215 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/0.7691, allocations: 400 kB / 1.215 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.7692, allocations: 28.8 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.7693, allocations: 40.31 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.7697, allocations: 259.7 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7697, allocations: 3.938 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.7697, allocations: 7.938 kB / 1.215 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7697, allocations: 12 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.77, allocations: 157.7 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.7712, allocations: 0.8451 MB / 1.216 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.7715, allocations: 218.8 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.7718, allocations: 208.7 kB / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.7718, allocations: 0 / 1.217 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.7721, allocations: 243.8 kB / 1.217 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 1.353e-06/0.7721, allocations: 4 kB / 1.217 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.0006348/0.7728, allocations: 430.9 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.7728, allocations: 118.8 kB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.7731, allocations: 320.2 kB / 1.218 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.7732, allocations: 45.7 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.7734, allocations: 176.5 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.7734, allocations: 59.34 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.7736, allocations: 145.9 kB / 1.218 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7738, allocations: 350.8 kB / 1.218 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.7741, allocations: 208.7 kB / 1.219 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.7745, allocations: 325 kB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.7751, allocations: 0.531 MB / 1.22 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.7752, allocations: 0 / 1.22 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001056/0.7762, allocations: 0.7326 MB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.487e-05/0.7763, allocations: 122.8 kB / 1.22 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.7763, allocations: 4 kB / 1.22 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.7763, allocations: 4 kB / 1.22 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.7765, allocations: 63.84 kB / 1.22 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.7766, allocations: 12.33 kB / 1.22 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.7772, allocations: 135.4 kB / 1.221 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/0.7773, allocations: 67.92 kB / 1.221 GB, free: 0.7539 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.0002043/0.7775, allocations: 189.7 kB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.7776, allocations: 27.62 kB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.7781, allocations: 373.6 kB / 1.221 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7781, allocations: 4 kB / 1.221 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7781, allocations: 7.875 kB / 1.221 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7781, allocations: 0 / 1.221 GB, free: 148 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008367/0.7789, allocations: 0.7491 MB / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.779, allocations: 0 / 1.222 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.7791, allocations: 39.91 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.7791, allocations: 3.938 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.7791, allocations: 12 kB / 1.222 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7791, allocations: 0 / 1.222 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7791, allocations: 0 / 1.222 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.7796, allocations: 436 kB / 1.222 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.7797, allocations: 108.6 kB / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.7797, allocations: 11.98 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.7798, allocations: 11.98 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.7799, allocations: 19.97 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.7799, allocations: 16 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001934/0.7801, allocations: 219 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7801, allocations: 0 / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000377/0.7805, allocations: 91.91 kB / 1.223 GB, free: 14.35 MB / 0.9512 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.0001648/0.7807, allocations: 121.4 kB / 1.223 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008065/0.7815, allocations: 0.6814 MB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7815, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.7817, allocations: 147.9 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.7822, allocations: 75.69 kB / 1.224 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.783, allocations: 0.6159 MB / 1.224 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.7834, allocations: 0.7769 MB / 1.225 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.7834, allocations: 39.42 kB / 1.225 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of SimCode: time 2.01e-07/0.7834, allocations: 0 / 1.225 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.007382/0.7908, allocations: 4.989 MB / 1.23 GB, free: 6.836 MB / 0.9512 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/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