Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001763/0.001763, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002275/0.002275, allocations: 217.2 kB / 22.99 MB, free: 4.914 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.778/2.778, allocations: 476 MB / 0.7707 GB, free: 4.73 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.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [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.002104/0.002104, allocations: 66.22 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.397, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00279/0.3998, allocations: 0.9714 MB / 1.285 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.4021, allocations: 1.332 MB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.4022, allocations: 7.938 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.4024, allocations: 15.8 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.4025, allocations: 55.62 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00087/0.4033, allocations: 278.1 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004929/0.4038, allocations: 383.2 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.404, allocations: 49.77 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.4042, allocations: 143.7 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.4044, allocations: 127.5 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.4045, allocations: 36 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.4046, allocations: 47.98 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.4047, allocations: 63.77 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.4049, allocations: 119.5 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.4054, allocations: 398.6 kB / 1.288 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4054, allocations: 4 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4054, allocations: 0 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4054, allocations: 0 / 1.288 GB, free: 7.934 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001029/0.4064, allocations: 0.5472 MB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4065, allocations: 8.031 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.4068, allocations: 68.7 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009678/0.4078, allocations: 305.1 kB / 1.289 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.4078, allocations: 20.38 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.4078, allocations: 24.31 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.4083, allocations: 203.7 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4083, allocations: 3.938 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.4083, allocations: 4 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4084, allocations: 4 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005028/0.4089, allocations: 151.7 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4101, allocations: 0.7976 MB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.4105, allocations: 152.9 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.4107, allocations: 80.3 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.4107, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.4112, allocations: 167.5 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.4112, allocations: 0 / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0009187/0.4122, allocations: 261.5 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.4123, allocations: 162.2 kB / 1.291 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.4125, allocations: 221 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.235e-05/0.4126, allocations: 33.7 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4127, allocations: 152.3 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.4127, allocations: 31.73 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.4129, allocations: 53.69 kB / 1.291 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.4131, allocations: 330.8 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.4135, allocations: 171.4 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.4139, allocations: 282.7 kB / 1.292 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.4145, allocations: 278.9 kB / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.4145, allocations: 3.938 kB / 1.292 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000954/0.4155, allocations: 444 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/0.4155, allocations: 67.39 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4156, allocations: 4 kB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4156, allocations: 4 kB / 1.293 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.4157, allocations: 32.12 kB / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.4158, allocations: 7.984 kB / 1.293 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.4162, allocations: 75.8 kB / 1.293 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.4162, allocations: 12 kB / 1.293 GB, free: 2.398 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001767/0.4164, allocations: 157.7 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.4164, allocations: 19.91 kB / 1.293 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.4165, allocations: 21.33 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4165, allocations: 4 kB / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.4165, allocations: 0 / 1.293 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4165, allocations: 4 kB / 1.293 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.4167, allocations: 181.2 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4167, allocations: 0 / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.4169, allocations: 23.97 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4169, allocations: 8 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4169, allocations: 4 kB / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4169, allocations: 0 / 1.293 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4169, allocations: 4 kB / 1.293 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.4175, allocations: 248.2 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.4175, allocations: 27.8 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.4175, allocations: 3.938 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4177, allocations: 23.97 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.4177, allocations: 11.98 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.4177, allocations: 12.39 kB / 1.293 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001603/0.4179, allocations: 160.5 kB / 1.294 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4179, allocations: 0 / 1.294 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003227/0.4182, allocations: 51.89 kB / 1.294 GB, free: 1.371 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.00018/0.4184, allocations: 111.2 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008703/0.4193, allocations: 374 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4193, allocations: 0 / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.4196, allocations: 88.48 kB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.42, allocations: 44.34 kB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/0.4208, allocations: 436 kB / 1.295 GB, free: 256 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.4209, allocations: 128.8 kB / 1.295 GB, free: 108 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.421, allocations: 27.38 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.421, allocations: 0 / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of Templates: time 0.006061/0.427, allocations: 3.143 MB / 1.298 GB, free: 12.97 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.7116336543113]