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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 116.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002065, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.035/3.035, allocations: 489.3 MB / 0.7687 GB, free: 3.785 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 163.8 MB / 1.263 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002142/1.032, allocations: 1.151 MB / 1.264 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001755/1.034, allocations: 1.513 MB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.766e-05/1.034, allocations: 3.281 kB / 1.265 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/1.034, allocations: 29.3 kB / 1.265 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/1.035, allocations: 56.33 kB / 1.265 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/1.036, allocations: 487.3 kB / 1.266 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006162/1.036, allocations: 0.6226 MB / 1.266 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/1.037, allocations: 152.2 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/1.037, allocations: 234.7 kB / 1.267 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/1.037, allocations: 219.5 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/1.037, allocations: 63.41 kB / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/1.037, allocations: 74.45 kB / 1.267 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.764e-05/1.037, allocations: 74.42 kB / 1.267 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/1.038, allocations: 226 kB / 1.267 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007014/1.038, allocations: 0.6208 MB / 1.268 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/1.038, allocations: 0 / 1.268 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.038, allocations: 1.281 kB / 1.268 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.038, allocations: 0 / 1.268 GB, free: 4.82 MB / 0.9981 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.0008871/1.039, allocations: 0.7487 MB / 1.269 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.039, allocations: 12.38 kB / 1.269 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/1.04, allocations: 50.92 kB / 1.269 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009825/1.041, allocations: 404.7 kB / 1.269 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/1.041, allocations: 25.39 kB / 1.269 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/1.041, allocations: 37.38 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/1.041, allocations: 252.1 kB / 1.269 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.041, allocations: 3.938 kB / 1.269 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/1.041, allocations: 9.484 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/1.041, allocations: 5.25 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/1.041, allocations: 163.7 kB / 1.27 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/1.043, allocations: 0.8428 MB / 1.27 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/1.043, allocations: 215.6 kB / 1.271 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/1.043, allocations: 211.8 kB / 1.271 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/1.043, allocations: 2.125 kB / 1.271 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/1.044, allocations: 253.9 kB / 1.271 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/1.044, allocations: 4.656 kB / 1.271 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.0007552/1.044, allocations: 432.9 kB / 1.271 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/1.044, allocations: 119.4 kB / 1.272 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/1.045, allocations: 329 kB / 1.272 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/1.045, allocations: 38.45 kB / 1.272 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/1.045, allocations: 182.4 kB / 1.272 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/1.045, allocations: 60.38 kB / 1.272 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/1.045, allocations: 141.8 kB / 1.272 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/1.045, allocations: 349.2 kB / 1.273 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/1.046, allocations: 204.1 kB / 1.273 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/1.046, allocations: 333.6 kB / 1.273 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005489/1.047, allocations: 0.5233 MB / 1.274 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.047, allocations: 1.531 kB / 1.274 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00108/1.048, allocations: 0.743 MB / 1.274 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/1.048, allocations: 126.9 kB / 1.275 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/1.048, allocations: 2.25 kB / 1.275 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.048, allocations: 5.219 kB / 1.275 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/1.048, allocations: 58.41 kB / 1.275 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/1.048, allocations: 18.3 kB / 1.275 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/1.049, allocations: 136.8 kB / 1.275 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.049, allocations: 65.72 kB / 1.275 GB, free: 0.6367 MB / 0.9981 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.0001889/1.049, allocations: 197.3 kB / 1.275 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/1.049, allocations: 31.75 kB / 1.275 GB, free: 480 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005266/1.05, allocations: 359.7 kB / 1.275 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.05, allocations: 3.125 kB / 1.275 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.05, allocations: 3.938 kB / 1.275 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.05, allocations: 2.25 kB / 1.275 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/1.051, allocations: 0.7494 MB / 1.276 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.051, allocations: 1.094 kB / 1.276 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/1.051, allocations: 44.62 kB / 1.276 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.051, allocations: 1.156 kB / 1.276 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/1.051, allocations: 12.86 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.051, allocations: 1.156 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.051, allocations: 0 / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/1.051, allocations: 438.8 kB / 1.277 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.834e-05/1.051, allocations: 110.8 kB / 1.277 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/1.052, allocations: 12.83 kB / 1.277 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/1.052, allocations: 9.312 kB / 1.277 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/1.052, allocations: 22.47 kB / 1.277 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/1.052, allocations: 18.05 kB / 1.277 GB, free: 15.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002424/1.052, allocations: 212.9 kB / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.052, allocations: 0 / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004353/1.052, allocations: 98.59 kB / 1.277 GB, free: 15.33 MB / 1.014 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.0001957/1.053, allocations: 121.4 kB / 1.277 GB, free: 15.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009268/1.054, allocations: 0.6773 MB / 1.278 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.054, allocations: 0 / 1.278 GB, free: 14.83 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/1.054, allocations: 146.9 kB / 1.278 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005099/1.054, allocations: 77.08 kB / 1.278 GB, free: 14.76 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/1.055, allocations: 0.607 MB / 1.279 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/1.056, allocations: 0.7843 MB / 1.279 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/1.056, allocations: 39.34 kB / 1.279 GB, free: 13.68 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.056, allocations: 0 / 1.279 GB, free: 13.68 MB / 1.014 GB Notification: Performance of Templates: time 0.00919/1.065, allocations: 4.992 MB / 1.284 GB, free: 13.15 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.032074456103146]