Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002223/0.002223, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003065/0.003065, allocations: 216 kB / 22.25 MB, free: 5.082 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.632/1.632, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.352/3.352, allocations: 0.49 GB / 0.7951 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_12_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.002027/0.002027, allocations: 65.56 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3903, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002387/0.3927, allocations: 1.017 MB / 1.327 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.3947, allocations: 1.377 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.3949, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.395, allocations: 23.73 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.3951, allocations: 39.66 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008779/0.396, allocations: 285.9 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.3965, allocations: 387.3 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3967, allocations: 37.8 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.3969, allocations: 163.6 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.3972, allocations: 131.5 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.3972, allocations: 36 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.3974, allocations: 59.92 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.908e-05/0.3974, allocations: 55.83 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3976, allocations: 139.4 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.3981, allocations: 410.5 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3981, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3981, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.3981, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 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.001085/0.3992, allocations: 0.5511 MB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.3992, allocations: 8.031 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/0.3993, allocations: 46.73 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003924/0.3997, allocations: 72.75 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009672/0.4007, allocations: 305.1 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.4007, allocations: 12.38 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.4008, allocations: 24.38 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.4013, allocations: 206.1 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4013, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.4013, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.4013, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.4018, allocations: 143.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.4031, allocations: 0.8749 MB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.4035, allocations: 149 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.4037, allocations: 84.3 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.4037, allocations: 3.938 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.4041, allocations: 167.5 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.4041, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0008755/0.405, allocations: 257.3 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.4051, allocations: 162.2 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.4054, allocations: 217.2 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.4054, allocations: 37.7 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4055, allocations: 160.3 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.4056, allocations: 23.81 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.4057, allocations: 57.69 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4059, allocations: 334.8 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.4062, allocations: 95.92 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.4066, allocations: 187.4 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.4072, allocations: 274.9 kB / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4072, allocations: 0 / 1.334 GB, free: 8.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00091/0.4081, allocations: 376.7 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-05/0.4082, allocations: 63.39 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4082, allocations: 4 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4082, allocations: 0 / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.4084, allocations: 31.97 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.4084, allocations: 7.938 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.4088, allocations: 71.91 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.4089, allocations: 19.92 kB / 1.335 GB, free: 8.375 MB / 1.029 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.0001737/0.409, allocations: 150.3 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.4091, allocations: 19.89 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.4091, allocations: 21.81 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.4091, allocations: 12 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4092, allocations: 0 / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4092, allocations: 3.984 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.4094, allocations: 232.5 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.4094, allocations: 3.984 kB / 1.335 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.4096, allocations: 27.91 kB / 1.335 GB, free: 7.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.4096, allocations: 4 kB / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4096, allocations: 0 / 1.335 GB, free: 7.852 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.4096, allocations: 7.984 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4096, allocations: 4 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.4102, allocations: 240.2 kB / 1.335 GB, free: 7.574 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.4103, allocations: 23.78 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.4103, allocations: 8 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.4104, allocations: 19.97 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.4105, allocations: 11.98 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.4105, allocations: 7.938 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001595/0.4107, allocations: 168.5 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4107, allocations: 0 / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003048/0.411, allocations: 47.89 kB / 1.336 GB, free: 7.293 MB / 1.029 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.0009351/0.4119, allocations: 0.7796 MB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007571/0.4127, allocations: 306.5 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4127, allocations: 0 / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.4129, allocations: 84.42 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4133, allocations: 49.81 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.4175, allocations: 2.574 MB / 1.339 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.4179, allocations: 0.7515 MB / 1.34 GB, free: 2.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001514/0.4181, allocations: 37.61 kB / 1.34 GB, free: 2.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4182, allocations: 63.42 kB / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of SimCode: time 1.313e-06/0.4182, allocations: 0 / 1.34 GB, free: 2.406 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/0.4527, allocations: 5.38 MB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.91, allocations: 12.06 kB / 1.346 GB, free: 13.2 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.14116220897995]