Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001616/0.001616, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.001901/0.001901, allocations: 161.7 kB / 23.01 MB, free: 4.949 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.553/1.553, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 359.1 MB / 0.6044 GB, free: 14.82 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [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.002268/0.002268, allocations: 67.88 kB / 0.9515 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3222, allocations: 169.9 MB / 1.117 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002449/0.3246, allocations: 0.8359 MB / 1.118 GB, free: 1.648 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3266, allocations: 1.315 MB / 1.12 GB, free: 328 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.089e-05/0.3267, allocations: 4 kB / 1.12 GB, free: 324 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.3269, allocations: 19.8 kB / 1.12 GB, free: 304 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.506e-05/0.3269, allocations: 35.72 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.3278, allocations: 268.7 kB / 1.12 GB, free: 8 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.3283, allocations: 323.4 kB / 1.12 GB, free: 15.69 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3285, allocations: 37.66 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.3287, allocations: 139.7 kB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.3289, allocations: 103.6 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.834e-05/0.329, allocations: 32 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3291, allocations: 47.92 kB / 1.121 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.3292, allocations: 43.86 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3294, allocations: 103.6 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.3298, allocations: 354.7 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3298, allocations: 3.938 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3298, allocations: 0 / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3298, allocations: 0 / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008429/0.3307, allocations: 496.6 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3307, allocations: 12.03 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003666/0.3311, allocations: 60.81 kB / 1.122 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.3318, allocations: 238.2 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.3318, allocations: 12.38 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.3319, allocations: 20.38 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.3322, allocations: 147.1 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3323, allocations: 7.938 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.3323, allocations: 4 kB / 1.122 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3323, allocations: 4 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.3324, allocations: 71.83 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000859/0.3333, allocations: 0.6374 MB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.3334, allocations: 49.22 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.283e-05/0.3335, allocations: 33.64 kB / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.3335, allocations: 0 / 1.123 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3337, allocations: 113 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3337, allocations: 0 / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0003367/0.334, allocations: 125.5 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.3341, allocations: 81.11 kB / 1.123 GB, free: 12.56 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.3343, allocations: 207.8 kB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.3344, allocations: 37.69 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.3345, allocations: 140.3 kB / 1.123 GB, free: 12.16 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.3346, allocations: 15.84 kB / 1.123 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3347, allocations: 69.62 kB / 1.123 GB, free: 12.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.3349, allocations: 326.8 kB / 1.124 GB, free: 11.74 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3351, allocations: 135.3 kB / 1.124 GB, free: 11.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.3354, allocations: 243.3 kB / 1.124 GB, free: 11.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.3357, allocations: 198.1 kB / 1.124 GB, free: 11.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3357, allocations: 4 kB / 1.124 GB, free: 11.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006296/0.3364, allocations: 364.6 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-05/0.3364, allocations: 69.89 kB / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3365, allocations: 0 / 1.125 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3365, allocations: 4 kB / 1.125 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.691e-05/0.3366, allocations: 11.94 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3366, allocations: 4 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.3369, allocations: 56.06 kB / 1.125 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.337, allocations: 27.92 kB / 1.125 GB, free: 10.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0002083/0.3372, allocations: 153.7 kB / 1.125 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3372, allocations: 11.91 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.3373, allocations: 21.02 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3373, allocations: 0 / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.3373, allocations: 0 / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3373, allocations: 3.938 kB / 1.125 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.3375, allocations: 165.2 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3375, allocations: 7.938 kB / 1.125 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.3375, allocations: 4 kB / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3376, allocations: 0 / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3376, allocations: 4 kB / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3376, allocations: 0 / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3376, allocations: 0 / 1.125 GB, free: 10.1 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.3378, allocations: 141.8 kB / 1.125 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.3378, allocations: 19.84 kB / 1.125 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.3379, allocations: 8 kB / 1.125 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.3379, allocations: 0 / 1.125 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.3379, allocations: 7.984 kB / 1.125 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3379, allocations: 8 kB / 1.125 GB, free: 9.895 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001615/0.3381, allocations: 145.5 kB / 1.126 GB, free: 9.754 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3381, allocations: 0 / 1.126 GB, free: 9.754 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003156/0.3384, allocations: 47.88 kB / 1.126 GB, free: 9.707 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002121/0.3386, allocations: 99.25 kB / 1.126 GB, free: 9.602 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005239/0.3392, allocations: 306 kB / 1.126 GB, free: 9.266 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3392, allocations: 0 / 1.126 GB, free: 9.266 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.3392, allocations: 28.36 kB / 1.126 GB, free: 9.238 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.3396, allocations: 47.78 kB / 1.126 GB, free: 9.191 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.3403, allocations: 308.5 kB / 1.126 GB, free: 8.859 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.3405, allocations: 119.6 kB / 1.126 GB, free: 8.727 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.124e-05/0.3406, allocations: 17.48 kB / 1.126 GB, free: 8.711 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.3406, allocations: 16.5 kB / 1.126 GB, free: 8.695 MB / 1.076 GB Notification: Performance of SimCode: time 6.92e-07/0.3406, allocations: 0 / 1.126 GB, free: 8.695 MB / 1.076 GB Notification: Performance of Templates: time 0.007917/0.3485, allocations: 2.658 MB / 1.129 GB, free: 6.109 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.040349346003495]