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.001417/0.001417, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001674/0.001674, allocations: 214 kB / 22.25 MB, free: 5.258 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.627/1.627, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.027/3.027, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] 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.002189/0.002189, allocations: 66.84 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4072, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002992/0.4102, allocations: 0.8495 MB / 1.284 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.4127, allocations: 1.309 MB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.4128, allocations: 3.938 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.413, allocations: 15.8 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.4131, allocations: 35.78 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008494/0.4139, allocations: 270.1 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.4144, allocations: 327.5 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.4145, allocations: 37.66 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.4147, allocations: 135.7 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.415, allocations: 95.62 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.415, allocations: 28 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.4151, allocations: 47.98 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.454e-05/0.4152, allocations: 47.78 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.4154, allocations: 107.6 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.4159, allocations: 350.7 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4159, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4159, allocations: 4 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.4159, allocations: 0 / 1.287 GB, free: 8.266 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.0008792/0.4168, allocations: 484.6 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4168, allocations: 12.03 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.4173, allocations: 64.75 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006504/0.4179, allocations: 238.2 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.418, allocations: 16.31 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.173e-05/0.418, allocations: 24.36 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.4183, allocations: 146.7 kB / 1.288 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4183, allocations: 3.938 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.4183, allocations: 4 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4183, allocations: 8 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.4185, allocations: 63.89 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008965/0.4194, allocations: 0.6373 MB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.4195, allocations: 61.23 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.4195, allocations: 29.7 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.4196, allocations: 8 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.4198, allocations: 93.03 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.4198, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003607/0.4202, allocations: 133.6 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.025e-05/0.4203, allocations: 85.09 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.4205, allocations: 211.7 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.4205, allocations: 33.7 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4207, allocations: 140.3 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.4207, allocations: 23.83 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.4208, allocations: 65.67 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.421, allocations: 326.8 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.4212, allocations: 127.4 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.4215, allocations: 243.4 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.4218, allocations: 198.1 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4218, allocations: 4.031 kB / 1.29 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005872/0.4224, allocations: 372 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.463e-05/0.4225, allocations: 63.39 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.4225, allocations: 4 kB / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4225, allocations: 0 / 1.29 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.339e-05/0.4226, allocations: 15.92 kB / 1.29 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4226, allocations: 7.938 kB / 1.29 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.4229, allocations: 64.06 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.4229, allocations: 12 kB / 1.29 GB, free: 3.934 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.0001823/0.4231, allocations: 155.4 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.4232, allocations: 15.91 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.4232, allocations: 13.03 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4232, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4232, allocations: 0 / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.4232, allocations: 11.98 kB / 1.291 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.4234, allocations: 161.2 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.4234, allocations: 3.938 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.4235, allocations: 11.92 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4235, allocations: 0 / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4235, allocations: 4 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4235, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4235, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.4237, allocations: 141.8 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.4237, allocations: 15.84 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.4238, allocations: 3.984 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.973e-05/0.4238, allocations: 4 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.4239, allocations: 11.98 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4239, allocations: 4 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001588/0.424, allocations: 149.5 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.424, allocations: 0 / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002731/0.4243, allocations: 43.89 kB / 1.291 GB, free: 3.137 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.0002089/0.4245, allocations: 107.2 kB / 1.291 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.425, allocations: 298.3 kB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.425, allocations: 0 / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.4251, allocations: 27.92 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.4254, allocations: 37.58 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006483/0.426, allocations: 305.3 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.4262, allocations: 119.8 kB / 1.292 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.349e-05/0.4263, allocations: 25.45 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.4263, allocations: 15.44 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4263, allocations: 0 / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of Templates: time 0.007312/0.4336, allocations: 2.782 MB / 1.295 GB, free: 15.42 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/jenkins/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.796552846208215]