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.001389/0.001389, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001528/0.001528, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.785 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.908/2.908, allocations: 476 MB / 0.7699 GB, free: 4.738 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [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.002249/0.002249, allocations: 66.64 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3907, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002725/0.3934, allocations: 0.952 MB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.3961, allocations: 1.344 MB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.391e-05/0.3962, allocations: 7.875 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.3963, allocations: 23.73 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.3964, allocations: 47.66 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000879/0.3973, allocations: 278.2 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.3978, allocations: 383.3 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.398, allocations: 37.8 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.3982, allocations: 159.6 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.3984, allocations: 119.5 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.3985, allocations: 36 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3986, allocations: 55.98 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3987, allocations: 51.84 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.3989, allocations: 123.4 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.3994, allocations: 400.1 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3994, allocations: 3.938 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.3994, allocations: 0 / 1.286 GB, free: 8.469 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.00115/0.4006, allocations: 0.5531 MB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.4007, allocations: 12.03 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.303e-05/0.4007, allocations: 42.75 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/0.4012, allocations: 68.7 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009382/0.4021, allocations: 305.1 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.4022, allocations: 24.36 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.4022, allocations: 20.38 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.4027, allocations: 207.9 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4027, allocations: 0 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4027, allocations: 4 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.4027, allocations: 4 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.4033, allocations: 151.7 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.4045, allocations: 0.8243 MB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.4049, allocations: 153 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.4052, allocations: 76.3 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.4052, allocations: 4 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/0.4057, allocations: 179.5 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.4057, allocations: 0 / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.000954/0.4066, allocations: 261.4 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.4068, allocations: 162.2 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.4071, allocations: 217 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.4071, allocations: 37.7 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.4073, allocations: 148.3 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.4074, allocations: 31.73 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.4075, allocations: 53.69 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.4077, allocations: 334.9 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004105/0.4081, allocations: 167.3 kB / 1.29 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005389/0.4087, allocations: 288.1 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/0.4094, allocations: 271 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4094, allocations: 0 / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001037/0.4104, allocations: 447.9 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.4105, allocations: 59.41 kB / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4105, allocations: 0 / 1.291 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.4105, allocations: 8.203 kB / 1.291 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.4107, allocations: 31.98 kB / 1.291 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.4107, allocations: 3.984 kB / 1.291 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.4112, allocations: 71.81 kB / 1.291 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.4112, allocations: 19.98 kB / 1.291 GB, free: 2.836 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.0002585/0.4115, allocations: 156.1 kB / 1.292 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.4115, allocations: 15.91 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.463e-05/0.4116, allocations: 25.33 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4116, allocations: 0 / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4116, allocations: 7.938 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4116, allocations: 0 / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.4119, allocations: 216.6 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4119, allocations: 8 kB / 1.292 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.4121, allocations: 23.97 kB / 1.292 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.4121, allocations: 8 kB / 1.292 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.4121, allocations: 4 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.4121, allocations: 7.938 kB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4121, allocations: 0 / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.4128, allocations: 236.3 kB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.4128, allocations: 27.8 kB / 1.292 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.4128, allocations: 7.938 kB / 1.292 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.413, allocations: 20.38 kB / 1.292 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.413, allocations: 19.97 kB / 1.292 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4131, allocations: 11.94 kB / 1.292 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001713/0.4132, allocations: 160.5 kB / 1.292 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4132, allocations: 0 / 1.292 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003102/0.4135, allocations: 55.83 kB / 1.292 GB, free: 1.754 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.0009725/0.4145, allocations: 0.7758 MB / 1.293 GB, free: 0.9375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008791/0.4154, allocations: 386 kB / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4154, allocations: 0 / 1.294 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.4157, allocations: 71.88 kB / 1.294 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.4161, allocations: 51.47 kB / 1.294 GB, free: 416 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.4208, allocations: 2.833 MB / 1.296 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.421, allocations: 136.8 kB / 1.297 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.4211, allocations: 33.62 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4212, allocations: 67.41 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/0.4212, allocations: 0 / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/0.4697, allocations: 6.095 MB / 1.303 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.15, allocations: 3.938 kB / 1.303 GB, free: 7.227 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] 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: 18.943900032900274]