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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001033/0.001033, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003353, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6855, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001432/0.687, allocations: 0.8462 MB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.6894, allocations: 1.569 MB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.6896, allocations: 4 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.6898, allocations: 15.8 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.69, allocations: 43.64 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.6913, allocations: 462.9 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006153/0.692, allocations: 0.5113 MB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.6923, allocations: 140.4 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003547/0.6926, allocations: 167.5 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.6929, allocations: 151.3 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.6931, allocations: 20 kB / 1.028 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.6932, allocations: 35.98 kB / 1.028 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.6933, allocations: 55.7 kB / 1.028 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.6936, allocations: 196.8 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.6941, allocations: 480.7 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.6941, allocations: 7.938 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6941, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.482e-05/0.6941, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.7794 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.0008679/0.695, allocations: 0.6435 MB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6951, allocations: 8.031 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.6952, allocations: 48.45 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.6962, allocations: 415.9 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.6963, allocations: 24.81 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/0.6964, allocations: 36.36 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.6968, allocations: 251.8 kB / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.6968, allocations: 3.938 kB / 1.03 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.6968, allocations: 8 kB / 1.03 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6968, allocations: 12 kB / 1.03 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.6971, allocations: 153.7 kB / 1.03 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.6984, allocations: 0.849 MB / 1.031 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.6987, allocations: 222.7 kB / 1.031 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.699, allocations: 212.7 kB / 1.031 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.699, allocations: 4 kB / 1.031 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.6993, allocations: 241.8 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.833e-06/0.6993, allocations: 0 / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0006546/0.7, allocations: 431.7 kB / 1.032 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.7, allocations: 122.7 kB / 1.032 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.7004, allocations: 328.2 kB / 1.032 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.7004, allocations: 41.7 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.7006, allocations: 180.5 kB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.854e-05/0.7006, allocations: 59.27 kB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.7007, allocations: 69.67 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7009, allocations: 338.8 kB / 1.033 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.7012, allocations: 212.6 kB / 1.033 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.7017, allocations: 325 kB / 1.033 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006233/0.7023, allocations: 0.5311 MB / 1.034 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7023, allocations: 0 / 1.034 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001057/0.7034, allocations: 0.7369 MB / 1.035 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.293e-05/0.7035, allocations: 130.8 kB / 1.035 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7035, allocations: 0 / 1.035 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.7035, allocations: 8 kB / 1.035 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.7037, allocations: 55.91 kB / 1.035 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.7038, allocations: 15.88 kB / 1.035 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/0.7045, allocations: 174.1 kB / 1.035 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.7046, allocations: 67.91 kB / 1.035 GB, free: 3.867 MB / 0.7794 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/0.7049, allocations: 189.7 kB / 1.035 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.7049, allocations: 35.61 kB / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.7055, allocations: 377.3 kB / 1.036 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.7055, allocations: 4 kB / 1.036 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.7055, allocations: 3.938 kB / 1.036 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.7055, allocations: 0 / 1.036 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.7064, allocations: 0.748 MB / 1.036 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7064, allocations: 0 / 1.036 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.7066, allocations: 39.86 kB / 1.036 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.7066, allocations: 4 kB / 1.036 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.7066, allocations: 4 kB / 1.036 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.7066, allocations: 4 kB / 1.036 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.7066, allocations: 0 / 1.036 GB, free: 2.398 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004563/0.7071, allocations: 431.5 kB / 1.037 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.7072, allocations: 124.5 kB / 1.037 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.7072, allocations: 4 kB / 1.037 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.7073, allocations: 11.98 kB / 1.037 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.7074, allocations: 27.91 kB / 1.037 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.7074, allocations: 8 kB / 1.037 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002052/0.7077, allocations: 215.1 kB / 1.037 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7077, allocations: 0 / 1.037 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00042/0.7081, allocations: 95.91 kB / 1.037 GB, free: 1.469 MB / 0.7794 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.000191/0.7083, allocations: 125.5 kB / 1.037 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008404/0.7091, allocations: 0.6691 MB / 1.038 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7091, allocations: 0.8125 kB / 1.038 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.7093, allocations: 155.8 kB / 1.038 GB, free: 476 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.7099, allocations: 78.8 kB / 1.038 GB, free: 400 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009775/0.7109, allocations: 0.6823 MB / 1.039 GB, free: 15.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.7112, allocations: 0.7772 MB / 1.04 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.7113, allocations: 47.36 kB / 1.04 GB, free: 14.83 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.7113, allocations: 4 kB / 1.04 GB, free: 14.82 MB / 0.795 GB Notification: Performance of Templates: time 0.00817/0.7195, allocations: 4.912 MB / 1.044 GB, free: 9.949 MB / 0.795 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/jenkins1/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