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.001597/0.001597, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001969/0.001969, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.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.781/2.781, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 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.001989/0.001989, allocations: 67.44 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002372/0.3145, allocations: 0.8852 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.3164, allocations: 1.332 MB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.3165, allocations: 7.938 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.3167, allocations: 15.8 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.233e-05/0.3167, allocations: 35.78 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.3175, allocations: 269.6 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.3179, allocations: 327.5 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3181, allocations: 41.66 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.3183, allocations: 135.7 kB / 1.288 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.3185, allocations: 103.6 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/0.3185, allocations: 32 kB / 1.288 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3186, allocations: 55.97 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.244e-05/0.3187, allocations: 43.78 kB / 1.288 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.3188, allocations: 119.5 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.3192, allocations: 350.7 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3192, allocations: 0 / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3192, allocations: 0 / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3193, allocations: 4 kB / 1.288 GB, free: 7.5 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007484/0.32, allocations: 488.6 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.32, allocations: 12.03 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/0.3204, allocations: 64.78 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.321, allocations: 234.2 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.321, allocations: 16.31 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.3211, allocations: 28.36 kB / 1.289 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3213, allocations: 137.6 kB / 1.289 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3213, allocations: 3.938 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.3213, allocations: 8 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3213, allocations: 0 / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3215, allocations: 67.89 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.3223, allocations: 0.7187 MB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.3224, allocations: 65.17 kB / 1.29 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.3225, allocations: 25.77 kB / 1.29 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3225, allocations: 4 kB / 1.29 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.3227, allocations: 97.02 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.3227, allocations: 0 / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003067/0.323, allocations: 133.5 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.323, allocations: 85.05 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3232, allocations: 211.8 kB / 1.291 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.3233, allocations: 33.7 kB / 1.291 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3234, allocations: 140.3 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3234, allocations: 19.84 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3235, allocations: 61.67 kB / 1.291 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3237, allocations: 326.8 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.3238, allocations: 75.95 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.324, allocations: 126.7 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.3243, allocations: 198.2 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3243, allocations: 4 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005026/0.3248, allocations: 304.8 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.779e-05/0.3249, allocations: 67.42 kB / 1.292 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3249, allocations: 4 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3249, allocations: 0 / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.325, allocations: 8 kB / 1.292 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.325, allocations: 7.938 kB / 1.292 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.3253, allocations: 51.94 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.3253, allocations: 19.92 kB / 1.292 GB, free: 3.375 MB / 0.9825 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.0001739/0.3255, allocations: 154.4 kB / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3255, allocations: 11.91 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.3255, allocations: 21.02 kB / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3255, allocations: 0 / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3256, allocations: 0 / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3256, allocations: 0 / 1.292 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.3258, allocations: 216.5 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3258, allocations: 0 / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.3258, allocations: 11.94 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3258, allocations: 0 / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3258, allocations: 3.984 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3258, allocations: 4 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3258, allocations: 4 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.326, allocations: 133.8 kB / 1.292 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.3261, allocations: 11.91 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3261, allocations: 4 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.103e-05/0.3261, allocations: 4 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.3261, allocations: 8.453 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3261, allocations: 7.938 kB / 1.293 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001376/0.3263, allocations: 149.5 kB / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3263, allocations: 0 / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002642/0.3266, allocations: 47.89 kB / 1.293 GB, free: 2.523 MB / 0.9825 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.0001631/0.3267, allocations: 103.2 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004026/0.3271, allocations: 238.8 kB / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3271, allocations: 0 / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.3272, allocations: 31.92 kB / 1.293 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.3275, allocations: 34.8 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.3281, allocations: 342.3 kB / 1.293 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.3285, allocations: 0.7281 MB / 1.294 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.3285, allocations: 19.44 kB / 1.294 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3285, allocations: 0 / 1.294 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of Templates: time 0.004869/0.3334, allocations: 2.503 MB / 1.297 GB, free: 14.47 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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: 11.39456373199937]