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.002588/0.002588, allocations: 108 kB / 15.61 MB, free: 152 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.002592/0.002592, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.582/1.582, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.79/2.79, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002047, allocations: 64.12 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7429/0.745, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002785/0.7478, allocations: 1.147 MB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002212/0.7501, allocations: 1.518 MB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.7502, allocations: 7.938 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.7503, allocations: 27.61 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.7505, allocations: 55.5 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.7517, allocations: 484.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006434/0.7523, allocations: 0.6128 MB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.7526, allocations: 152.4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.7529, allocations: 219.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.7532, allocations: 195.3 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.7533, allocations: 60 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.7534, allocations: 75.98 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.7535, allocations: 75.7 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.7538, allocations: 227.1 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006454/0.7544, allocations: 0.6134 MB / 1.023 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7545, allocations: 3.938 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7545, allocations: 0 / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7545, allocations: 0 / 1.023 GB, free: 13.16 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.00124/0.7557, allocations: 0.7433 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.7558, allocations: 12.03 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.7559, allocations: 44.47 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.7571, allocations: 408 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.7571, allocations: 24.81 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.7572, allocations: 32.36 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/0.7577, allocations: 255.7 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.7577, allocations: 11.91 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.7577, allocations: 8 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7577, allocations: 8 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.758, allocations: 157.6 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.7595, allocations: 0.8568 MB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.7598, allocations: 220.8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.7601, allocations: 204.8 kB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.7602, allocations: 0 / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.7606, allocations: 240.8 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.432e-06/0.7606, allocations: 0 / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007956/0.7614, allocations: 436.3 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7615, allocations: 126.7 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.7619, allocations: 328.2 kB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.7619, allocations: 37.7 kB / 1.027 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.7621, allocations: 180.5 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.7622, allocations: 59.25 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.7624, allocations: 138 kB / 1.027 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.7626, allocations: 346.8 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.763, allocations: 208.7 kB / 1.028 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.7635, allocations: 321 kB / 1.028 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/0.7642, allocations: 0.5389 MB / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7643, allocations: 0 / 1.028 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001193/0.7655, allocations: 0.74 MB / 1.029 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.7656, allocations: 122.8 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7656, allocations: 4 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.7656, allocations: 4 kB / 1.029 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.7658, allocations: 63.84 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.7659, allocations: 7.938 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006813/0.7666, allocations: 135.7 kB / 1.029 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.7667, allocations: 63.92 kB / 1.029 GB, free: 5.723 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.0002595/0.7669, allocations: 193.7 kB / 1.03 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.767, allocations: 35.61 kB / 1.03 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.7676, allocations: 361.2 kB / 1.03 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.7676, allocations: 4 kB / 1.03 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.7676, allocations: 7.938 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.7676, allocations: 3.984 kB / 1.03 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.7686, allocations: 0.7446 MB / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7687, allocations: 0 / 1.031 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.7688, allocations: 47.86 kB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7688, allocations: 3.938 kB / 1.031 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.7689, allocations: 11.98 kB / 1.031 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7689, allocations: 0 / 1.031 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7689, allocations: 3.938 kB / 1.031 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.7694, allocations: 431.8 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.7695, allocations: 112.5 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.7695, allocations: 8 kB / 1.031 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.7697, allocations: 15.98 kB / 1.031 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.7697, allocations: 19.97 kB / 1.031 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.7698, allocations: 12 kB / 1.031 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002262/0.77, allocations: 215.1 kB / 1.032 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.77, allocations: 0 / 1.032 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004199/0.7704, allocations: 91.98 kB / 1.032 GB, free: 3.328 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.0001946/0.7706, allocations: 125.4 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.7717, allocations: 0.7004 MB / 1.033 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7717, allocations: 0 / 1.033 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.7719, allocations: 159.8 kB / 1.033 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.7724, allocations: 73.8 kB / 1.033 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.7735, allocations: 0.5806 MB / 1.033 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.7739, allocations: 0.7808 MB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.7741, allocations: 67.23 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.7742, allocations: 39.42 kB / 1.034 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7742, allocations: 0 / 1.034 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of Templates: time 0.01134/0.7856, allocations: 5.494 MB / 1.04 GB, free: 11.27 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=400 -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