Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001392/0.001392, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001507/0.001507, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.48/1.48, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=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_11_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_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 1.109 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9757/0.9777, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002763/0.9805, allocations: 1.161 MB / 1.275 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.983, allocations: 1.511 MB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.9833, allocations: 11.94 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.9834, allocations: 27.61 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.9837, allocations: 71.5 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.9851, allocations: 492 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.9861, allocations: 0.5816 MB / 1.278 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.9864, allocations: 116.1 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.9868, allocations: 231.4 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.9872, allocations: 215.2 kB / 1.278 GB, free: 160 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.9874, allocations: 60 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.9876, allocations: 75.92 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.9877, allocations: 75.89 kB / 1.279 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.9881, allocations: 227 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008885/0.989, allocations: 0.6296 MB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.989, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.294e-06/0.989, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.989, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 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.001365/0.9904, allocations: 0.7508 MB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.9904, allocations: 12.03 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.9905, allocations: 52.69 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.9916, allocations: 396.2 kB / 1.281 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.9917, allocations: 32.78 kB / 1.281 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/0.9918, allocations: 36.38 kB / 1.281 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.9922, allocations: 259.5 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.9922, allocations: 4 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.9923, allocations: 8 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.9923, allocations: 4 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/0.9926, allocations: 161.7 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.994, allocations: 0.8453 MB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.9943, allocations: 214.7 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.9946, allocations: 195.7 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.9946, allocations: 0 / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003673/0.995, allocations: 249.8 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=28): time 1.322e-06/0.995, allocations: 0 / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28): time 0.0007548/0.9957, allocations: 435.1 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/0.9958, allocations: 114.8 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.9962, allocations: 328.3 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.9963, allocations: 45.64 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.9965, allocations: 184.7 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.9965, allocations: 55.59 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.9967, allocations: 150 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.9969, allocations: 346.8 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.9973, allocations: 204.7 kB / 1.284 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.9978, allocations: 328.9 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.9985, allocations: 0.5233 MB / 1.285 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9985, allocations: 4 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001212/0.9997, allocations: 0.7405 MB / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.9998, allocations: 122.8 kB / 1.286 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9998, allocations: 11.94 kB / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.9998, allocations: 8.391 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/1, allocations: 59.86 kB / 1.286 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1, allocations: 7.984 kB / 1.286 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/1.001, allocations: 135.5 kB / 1.286 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.001, allocations: 75.8 kB / 1.286 GB, free: 7.645 MB / 0.9825 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.0002396/1.001, allocations: 182.3 kB / 1.286 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/1.001, allocations: 27.81 kB / 1.286 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/1.002, allocations: 381.3 kB / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.002, allocations: 11.92 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.002, allocations: 0 / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.002, allocations: 0 / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/1.003, allocations: 0.7486 MB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/1.003, allocations: 3.938 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/1.003, allocations: 39.91 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/1.003, allocations: 4 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/1.003, allocations: 8 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/1.003, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.003, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/1.003, allocations: 428.9 kB / 1.288 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/1.004, allocations: 116.8 kB / 1.288 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/1.004, allocations: 11.98 kB / 1.288 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/1.004, allocations: 8 kB / 1.288 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/1.004, allocations: 23.97 kB / 1.288 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/1.004, allocations: 11.94 kB / 1.288 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002586/1.004, allocations: 223 kB / 1.288 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.004, allocations: 0 / 1.288 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004402/1.005, allocations: 91.89 kB / 1.288 GB, free: 5.254 MB / 0.9825 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.0002211/1.005, allocations: 133.4 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009343/1.006, allocations: 0.6105 MB / 1.289 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.006, allocations: 0 / 1.289 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/1.006, allocations: 131.8 kB / 1.289 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/1.006, allocations: 85.94 kB / 1.289 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/1.007, allocations: 0.5864 MB / 1.29 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/1.008, allocations: 0.7769 MB / 1.291 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001777/1.008, allocations: 71.23 kB / 1.291 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/1.008, allocations: 35.42 kB / 1.291 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/1.008, allocations: 0 / 1.291 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of Templates: time 0.01128/1.019, allocations: 5.555 MB / 1.296 GB, free: 13.23 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.356059201061726]