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.001704/0.001704, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.002059/0.002059, allocations: 156 kB / 23.01 MB, free: 4.945 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.702/2.702, allocations: 359.1 MB / 0.6044 GB, free: 14.85 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.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.002483/0.002483, allocations: 69.77 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3933, allocations: 169.9 MB / 1.117 GB, free: 2.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.003094/0.3964, allocations: 0.953 MB / 1.118 GB, free: 1.566 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.3992, allocations: 1.358 MB / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.3994, allocations: 3.938 kB / 1.12 GB, free: 196 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.3995, allocations: 27.73 kB / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.3998, allocations: 39.66 kB / 1.12 GB, free: 128 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.401, allocations: 281.4 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008409/0.4018, allocations: 383.1 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.402, allocations: 41.78 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.4024, allocations: 151.7 kB / 1.121 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.4027, allocations: 119.5 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.4029, allocations: 40 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.4031, allocations: 51.98 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.4032, allocations: 59.78 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.4034, allocations: 119.5 kB / 1.121 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000674/0.4041, allocations: 406.5 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4041, allocations: 0 / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4041, allocations: 0 / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.4041, allocations: 0 / 1.121 GB, free: 14.51 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001407/0.4055, allocations: 0.5511 MB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4056, allocations: 12.03 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.406, allocations: 76.69 kB / 1.122 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.4071, allocations: 305.5 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.4071, allocations: 16.38 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.4072, allocations: 20.38 kB / 1.122 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.4077, allocations: 203.2 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4078, allocations: 7.875 kB / 1.123 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.4078, allocations: 11.98 kB / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4078, allocations: 4 kB / 1.123 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.4083, allocations: 143.8 kB / 1.123 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4097, allocations: 0.778 MB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.4101, allocations: 160.9 kB / 1.124 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002622/0.4103, allocations: 72.31 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.4104, allocations: 4 kB / 1.124 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004482/0.4108, allocations: 171.5 kB / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 2.384e-06/0.4108, allocations: 0 / 1.124 GB, free: 11.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.001015/0.4118, allocations: 257.4 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.4119, allocations: 166.2 kB / 1.124 GB, free: 11.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.4122, allocations: 217.8 kB / 1.124 GB, free: 11.1 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.4123, allocations: 33.7 kB / 1.124 GB, free: 11.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.4124, allocations: 156.4 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.4125, allocations: 31.8 kB / 1.125 GB, free: 10.87 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4126, allocations: 53.69 kB / 1.125 GB, free: 10.81 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.4128, allocations: 327 kB / 1.125 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.4132, allocations: 167.3 kB / 1.125 GB, free: 10.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00051/0.4137, allocations: 284.2 kB / 1.125 GB, free: 9.973 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.4144, allocations: 286.8 kB / 1.126 GB, free: 9.652 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4144, allocations: 3.938 kB / 1.126 GB, free: 9.648 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001041/0.4154, allocations: 436 kB / 1.126 GB, free: 9.191 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-05/0.4155, allocations: 75.33 kB / 1.126 GB, free: 9.105 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4155, allocations: 0 / 1.126 GB, free: 9.105 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.4155, allocations: 4.219 kB / 1.126 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.4157, allocations: 31.97 kB / 1.126 GB, free: 9.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4157, allocations: 0 / 1.126 GB, free: 9.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000465/0.4162, allocations: 75.8 kB / 1.126 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.4163, allocations: 12 kB / 1.126 GB, free: 8.984 MB / 1.076 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.0002123/0.4165, allocations: 161.7 kB / 1.126 GB, free: 8.816 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.4165, allocations: 15.91 kB / 1.126 GB, free: 8.801 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.287e-05/0.4166, allocations: 21.34 kB / 1.126 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4166, allocations: 3.984 kB / 1.126 GB, free: 8.773 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.4166, allocations: 4 kB / 1.127 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4166, allocations: 0 / 1.127 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.4169, allocations: 189 kB / 1.127 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.4169, allocations: 7.984 kB / 1.127 GB, free: 8.547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.417, allocations: 27.98 kB / 1.127 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.417, allocations: 0 / 1.127 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.417, allocations: 7.984 kB / 1.127 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4171, allocations: 3.938 kB / 1.127 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4171, allocations: 7.984 kB / 1.127 GB, free: 8.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006728/0.4177, allocations: 240.7 kB / 1.127 GB, free: 8.234 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.4178, allocations: 23.86 kB / 1.127 GB, free: 8.211 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.4178, allocations: 4 kB / 1.127 GB, free: 8.207 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.418, allocations: 15.97 kB / 1.127 GB, free: 8.191 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.418, allocations: 19.92 kB / 1.127 GB, free: 8.172 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.4181, allocations: 12 kB / 1.127 GB, free: 8.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000169/0.4182, allocations: 157.2 kB / 1.127 GB, free: 8.008 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4182, allocations: 4 kB / 1.127 GB, free: 8.004 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003618/0.4186, allocations: 55.88 kB / 1.127 GB, free: 7.949 MB / 1.076 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.0001961/0.4188, allocations: 107.2 kB / 1.127 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009234/0.4197, allocations: 373.9 kB / 1.128 GB, free: 7.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4197, allocations: 448 / 1.128 GB, free: 7.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003009/0.42, allocations: 79.86 kB / 1.128 GB, free: 7.352 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4204, allocations: 47.64 kB / 1.128 GB, free: 7.309 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008508/0.4213, allocations: 399.4 kB / 1.128 GB, free: 6.879 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.4214, allocations: 132.9 kB / 1.128 GB, free: 6.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001354/0.4216, allocations: 41.61 kB / 1.128 GB, free: 6.691 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.4216, allocations: 20.44 kB / 1.128 GB, free: 6.668 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.4216, allocations: 0 / 1.128 GB, free: 6.668 MB / 1.076 GB Notification: Performance of Templates: time 0.008848/0.4305, allocations: 3.332 MB / 1.132 GB, free: 3.418 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.783896613982506]