Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00177/0.00177, allocations: 104.2 kB / 19.75 MB, free: 1.922 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.002326/0.002326, allocations: 215 kB / 23.04 MB, free: 4.473 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.353/3.353, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001973/0.001973, allocations: 69.77 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002411/0.3124, allocations: 1.084 MB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3144, allocations: 1.533 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.3145, allocations: 7.938 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3146, allocations: 31.59 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.3148, allocations: 67.5 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3159, allocations: 494.5 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006193/0.3165, allocations: 0.5816 MB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.3167, allocations: 104.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.317, allocations: 227.4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.3172, allocations: 191.2 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.3173, allocations: 60 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3174, allocations: 75.98 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.824e-05/0.3175, allocations: 75.75 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.3178, allocations: 195.3 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006472/0.3184, allocations: 0.6268 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3184, allocations: 11.92 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3184, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3184, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 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.000921/0.3193, allocations: 0.6717 MB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3194, allocations: 12.03 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.3195, allocations: 48.7 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.3204, allocations: 341.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.3205, allocations: 24.81 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-05/0.3205, allocations: 40.36 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.321, allocations: 376.3 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.321, allocations: 3.938 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.3211, allocations: 12 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3211, allocations: 4 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.3213, allocations: 161.7 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3225, allocations: 0.6812 MB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.3228, allocations: 210.7 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.3231, allocations: 196.7 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3231, allocations: 4 kB / 1.335 GB, free: 8.676 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000402/0.3235, allocations: 348 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.3235, allocations: 0 / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.0008407/0.3243, allocations: 435.1 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.3244, allocations: 118.8 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.3247, allocations: 320.3 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.3248, allocations: 37.7 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.325, allocations: 184.7 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.325, allocations: 67.47 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.3252, allocations: 142 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.3254, allocations: 342.8 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004545/0.3259, allocations: 335.5 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005715/0.3264, allocations: 0.4991 MB / 1.338 GB, free: 5.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.3271, allocations: 0.5311 MB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3271, allocations: 8 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001228/0.3283, allocations: 0.8648 MB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/0.3284, allocations: 125 kB / 1.339 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3284, allocations: 4 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3285, allocations: 4.406 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3287, allocations: 59.91 kB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3287, allocations: 11.98 kB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.3293, allocations: 127.6 kB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.3294, allocations: 71.86 kB / 1.34 GB, free: 3.734 MB / 1.029 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.0002198/0.3296, allocations: 193.6 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.3297, allocations: 31.81 kB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005635/0.3302, allocations: 368.8 kB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3302, allocations: 7.984 kB / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3303, allocations: 0 / 1.34 GB, free: 3.125 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3303, allocations: 3.938 kB / 1.34 GB, free: 3.121 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008724/0.3311, allocations: 0.6507 MB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.3311, allocations: 4 kB / 1.341 GB, free: 2.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.3313, allocations: 43.91 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3313, allocations: 0 / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3313, allocations: 11.94 kB / 1.341 GB, free: 2.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3313, allocations: 7.938 kB / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3313, allocations: 0 / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005008/0.3318, allocations: 436.7 kB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.3318, allocations: 31.7 kB / 1.341 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.3319, allocations: 15.92 kB / 1.341 GB, free: 1.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.332, allocations: 11.98 kB / 1.341 GB, free: 1.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.3321, allocations: 27.95 kB / 1.341 GB, free: 1.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3321, allocations: 8 kB / 1.341 GB, free: 1.832 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002056/0.3323, allocations: 211 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3323, allocations: 0 / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003964/0.3327, allocations: 95.89 kB / 1.342 GB, free: 1.531 MB / 1.029 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.0001573/0.3328, allocations: 125.2 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009493/0.3338, allocations: 0.7422 MB / 1.342 GB, free: 0.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3338, allocations: 0.8125 kB / 1.342 GB, free: 0.582 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.334, allocations: 139.8 kB / 1.343 GB, free: 456 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004856/0.3345, allocations: 70.7 kB / 1.343 GB, free: 388 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.3354, allocations: 0.6156 MB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.3356, allocations: 170.5 kB / 1.343 GB, free: 15.55 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.3356, allocations: 39.44 kB / 1.343 GB, free: 15.51 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.3356, allocations: 4 kB / 1.343 GB, free: 15.5 MB / 1.045 GB Notification: Performance of Templates: time 0.00768/0.3433, allocations: 5.025 MB / 1.348 GB, free: 10.51 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.922132500912994]