Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001359/0.001359, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001446/0.001446, allocations: 218.7 kB / 23.05 MB, free: 4.844 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.401/3.401, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.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_12_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_12_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.002322/0.002322, allocations: 72.19 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3342, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002091/0.3363, allocations: 0.847 MB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.3381, allocations: 1.319 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.3382, allocations: 3.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.987e-05/0.3383, allocations: 23.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/0.3384, allocations: 31.72 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.3391, allocations: 263.1 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.3395, allocations: 327.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3396, allocations: 37.61 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.3398, allocations: 135.7 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3399, allocations: 95.62 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.34, allocations: 28 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3401, allocations: 47.98 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.3402, allocations: 51.78 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3403, allocations: 103.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.3407, allocations: 350.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.3407, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3407, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3407, allocations: 0 / 1.331 GB, free: 13.36 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006884/0.3414, allocations: 488.7 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.3414, allocations: 8.031 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.3418, allocations: 64.8 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.3424, allocations: 242.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.3424, allocations: 12.38 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.3424, allocations: 20.38 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.3427, allocations: 155.3 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.3427, allocations: 3.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.3427, allocations: 4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3427, allocations: 4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.3428, allocations: 63.91 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007251/0.3435, allocations: 0.6412 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.3436, allocations: 61.23 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.3437, allocations: 25.72 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3437, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3439, allocations: 109 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3439, allocations: 0 / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002841/0.3441, allocations: 137.8 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.3442, allocations: 81.11 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.3444, allocations: 223.7 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3445, allocations: 29.7 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3446, allocations: 136.3 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.3446, allocations: 27.77 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3447, allocations: 65.64 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3449, allocations: 334.8 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.3451, allocations: 127.4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.3453, allocations: 243.3 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.3455, allocations: 194.2 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3455, allocations: 0 / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005399/0.3461, allocations: 368.1 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.3461, allocations: 67.39 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3461, allocations: 0 / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3462, allocations: 4 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.213e-05/0.3462, allocations: 20.11 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3462, allocations: 3.984 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.3466, allocations: 55.94 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.3466, allocations: 8 kB / 1.335 GB, free: 9.02 MB / 1.029 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.0001501/0.3467, allocations: 154.2 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.3468, allocations: 19.86 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.3468, allocations: 17.03 kB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3468, allocations: 4 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3468, allocations: 4 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3468, allocations: 0 / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.347, allocations: 161.2 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.347, allocations: 3.938 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.347, allocations: 11.92 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.347, allocations: 4 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.347, allocations: 4 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.347, allocations: 0 / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.347, allocations: 8 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.3472, allocations: 129.9 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.3472, allocations: 19.78 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3472, allocations: 3.984 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.3473, allocations: 4 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3473, allocations: 11.92 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3473, allocations: 4 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000125/0.3474, allocations: 141.5 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3474, allocations: 0 / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002654/0.3477, allocations: 47.89 kB / 1.335 GB, free: 8.219 MB / 1.029 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.0001405/0.3478, allocations: 108.6 kB / 1.335 GB, free: 8.102 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.3483, allocations: 302.1 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3483, allocations: 0 / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.3483, allocations: 35.91 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3486, allocations: 40.23 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.3492, allocations: 334.4 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.3493, allocations: 120.1 kB / 1.336 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.3493, allocations: 19.38 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3493, allocations: 0 / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of Templates: time 0.004548/0.3539, allocations: 2.546 MB / 1.339 GB, free: 4.652 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.853737839031965]