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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 213.8 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.268/3.268, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.27 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3686, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002681/0.3713, allocations: 1.093 MB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002276/0.3735, allocations: 1.526 MB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3737, allocations: 7.938 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.3738, allocations: 31.59 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.3739, allocations: 67.52 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.3752, allocations: 493.4 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.3759, allocations: 0.5777 MB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.3761, allocations: 100.9 kB / 1.368 GB, free: 9.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.3764, allocations: 231.5 kB / 1.369 GB, free: 9.434 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.3767, allocations: 187.2 kB / 1.369 GB, free: 9.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.3768, allocations: 63.94 kB / 1.369 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.377, allocations: 75.98 kB / 1.369 GB, free: 9.113 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3771, allocations: 83.75 kB / 1.369 GB, free: 9.031 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.3773, allocations: 199.1 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007989/0.3781, allocations: 0.6307 MB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3781, allocations: 0 / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3781, allocations: 0 / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.3781, allocations: 0 / 1.37 GB, free: 8.203 MB / 1.061 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.001087/0.3792, allocations: 0.6717 MB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3792, allocations: 12.03 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.3794, allocations: 44.7 kB / 1.371 GB, free: 7.418 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.3805, allocations: 337.8 kB / 1.371 GB, free: 7.066 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.3805, allocations: 24.81 kB / 1.371 GB, free: 7.043 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/0.3806, allocations: 40.31 kB / 1.371 GB, free: 7.004 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.3811, allocations: 376.3 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3811, allocations: 3.938 kB / 1.371 GB, free: 6.598 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.3811, allocations: 15.98 kB / 1.371 GB, free: 6.582 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3811, allocations: 4 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.3814, allocations: 157.7 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3828, allocations: 0.6851 MB / 1.372 GB, free: 5.707 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.3832, allocations: 206.7 kB / 1.372 GB, free: 5.496 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.3835, allocations: 198.3 kB / 1.373 GB, free: 5.301 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3835, allocations: 7.938 kB / 1.373 GB, free: 5.293 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/0.384, allocations: 350.6 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of pre-optimization done (n=28): time 1.783e-06/0.384, allocations: 4 kB / 1.373 GB, free: 4.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=28): time 0.0007855/0.3848, allocations: 431.2 kB / 1.373 GB, free: 4.473 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.3849, allocations: 110.8 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.3853, allocations: 328.2 kB / 1.374 GB, free: 4.016 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.3854, allocations: 37.7 kB / 1.374 GB, free: 3.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.3856, allocations: 176.8 kB / 1.374 GB, free: 3.797 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.3857, allocations: 67.45 kB / 1.374 GB, free: 3.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.386, allocations: 146 kB / 1.374 GB, free: 3.578 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.3862, allocations: 342.8 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.3868, allocations: 331.5 kB / 1.375 GB, free: 2.887 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006834/0.3875, allocations: 0.5069 MB / 1.375 GB, free: 2.293 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.3882, allocations: 0.5272 MB / 1.376 GB, free: 1.695 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.3883, allocations: 4 kB / 1.376 GB, free: 1.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001416/0.3897, allocations: 0.8721 MB / 1.377 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.3898, allocations: 125.5 kB / 1.377 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.3898, allocations: 8 kB / 1.377 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.3899, allocations: 4 kB / 1.377 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.3901, allocations: 63.91 kB / 1.377 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3901, allocations: 4 kB / 1.377 GB, free: 0.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/0.3908, allocations: 139.5 kB / 1.377 GB, free: 416 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.391, allocations: 67.86 kB / 1.377 GB, free: 348 kB / 1.061 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.0003061/0.3913, allocations: 190.3 kB / 1.377 GB, free: 152 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.3914, allocations: 39.77 kB / 1.377 GB, free: 112 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006939/0.3921, allocations: 360.5 kB / 1.378 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.3921, allocations: 4 kB / 1.378 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3921, allocations: 0 / 1.378 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.3921, allocations: 7.922 kB / 1.378 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.3931, allocations: 0.6512 MB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3931, allocations: 4 kB / 1.378 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.3932, allocations: 35.92 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3932, allocations: 7.984 kB / 1.378 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.3932, allocations: 11.94 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3932, allocations: 0 / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3932, allocations: 0 / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.3938, allocations: 436.9 kB / 1.379 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.3938, allocations: 31.75 kB / 1.379 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.3939, allocations: 11.94 kB / 1.379 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.394, allocations: 7.984 kB / 1.379 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.3941, allocations: 27.95 kB / 1.379 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3941, allocations: 8 kB / 1.379 GB, free: 14.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002311/0.3943, allocations: 207.1 kB / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3943, allocations: 4 kB / 1.379 GB, free: 14.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004475/0.3948, allocations: 103.8 kB / 1.379 GB, free: 14.14 MB / 1.076 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.0002198/0.395, allocations: 117.2 kB / 1.379 GB, free: 14.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.396, allocations: 0.7429 MB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.396, allocations: 4.062 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.3962, allocations: 135.8 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.3967, allocations: 76.98 kB / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009934/0.3977, allocations: 0.6091 MB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.3979, allocations: 174.5 kB / 1.381 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.398, allocations: 39.42 kB / 1.381 GB, free: 12.13 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/0.398, allocations: 0 / 1.381 GB, free: 12.13 MB / 1.076 GB Notification: Performance of Templates: time 0.008415/0.4064, allocations: 5.011 MB / 1.386 GB, free: 7.152 MB / 1.076 GB " [Timeout remaining time 300] 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/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: 11.832919165026397]