Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001885/0.001885, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002265/0.002265, allocations: 214.3 kB / 22.25 MB, free: 5.242 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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.451/3.451, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.RealExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.002182/0.002182, allocations: 62.5 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3634, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002731/0.3661, allocations: 1.257 MB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.3684, allocations: 1.557 MB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.3686, allocations: 7.938 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.3687, allocations: 31.55 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.3689, allocations: 79.42 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.3701, allocations: 0.4985 MB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006676/0.3708, allocations: 0.6443 MB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.371, allocations: 117.3 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.3713, allocations: 255.4 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.3716, allocations: 227 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3717, allocations: 64 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3719, allocations: 79.92 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.372, allocations: 79.77 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.3722, allocations: 219.1 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007693/0.373, allocations: 0.6812 MB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.373, allocations: 0 / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.373, allocations: 0 / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.373, allocations: 0 / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00128/0.3743, allocations: 0.8788 MB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3743, allocations: 12.03 kB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.686e-05/0.3744, allocations: 62.72 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3745, allocations: 52.66 kB / 1.37 GB, free: 7.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.3758, allocations: 401.5 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.3759, allocations: 28.86 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.376, allocations: 40.38 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.3767, allocations: 456.8 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3767, allocations: 0 / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.3767, allocations: 16 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3767, allocations: 4 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.3775, allocations: 386.3 kB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.3792, allocations: 0.7862 MB / 1.372 GB, free: 5.012 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.3799, allocations: 487.6 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005852/0.3805, allocations: 398.3 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3806, allocations: 11.84 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006869/0.3812, allocations: 448.3 kB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 1.954e-06/0.3812, allocations: 4 kB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001822/0.3831, allocations: 1.104 MB / 1.374 GB, free: 2.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.3832, allocations: 195.9 kB / 1.375 GB, free: 2.141 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.3835, allocations: 288.5 kB / 1.375 GB, free: 1.844 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/0.3836, allocations: 45.7 kB / 1.375 GB, free: 1.793 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.3837, allocations: 172.9 kB / 1.375 GB, free: 1.621 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.3839, allocations: 130.9 kB / 1.375 GB, free: 1.492 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.3841, allocations: 138.1 kB / 1.375 GB, free: 1.352 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3843, allocations: 346.8 kB / 1.376 GB, free: 1.004 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007875/0.385, allocations: 0.5235 MB / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008716/0.3859, allocations: 0.6179 MB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.3872, allocations: 0.9167 MB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3872, allocations: 0 / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001918/0.3891, allocations: 1.259 MB / 1.379 GB, free: 13.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.3893, allocations: 263.2 kB / 1.379 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3893, allocations: 4 kB / 1.379 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3893, allocations: 4 kB / 1.379 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.3896, allocations: 64.17 kB / 1.379 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.3897, allocations: 19.86 kB / 1.379 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/0.3904, allocations: 143.5 kB / 1.379 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3905, allocations: 71.92 kB / 1.379 GB, free: 12.69 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0003213/0.3908, allocations: 321.9 kB / 1.38 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.3909, allocations: 39.77 kB / 1.38 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.528e-05/0.391, allocations: 35.48 kB / 1.38 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.391, allocations: 8 kB / 1.38 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.391, allocations: 0 / 1.38 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.391, allocations: 3.984 kB / 1.38 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.393, allocations: 1.258 MB / 1.381 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.393, allocations: 0 / 1.381 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3933, allocations: 71.89 kB / 1.381 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3933, allocations: 0 / 1.381 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.3933, allocations: 15.98 kB / 1.381 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.8e-06/0.3933, allocations: 3.938 kB / 1.381 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3933, allocations: 0 / 1.381 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.3947, allocations: 0.9 MB / 1.382 GB, free: 9.812 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.3947, allocations: 43.64 kB / 1.382 GB, free: 9.77 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.3948, allocations: 8 kB / 1.382 GB, free: 9.762 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.395, allocations: 31.91 kB / 1.382 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.55e-05/0.3951, allocations: 35.94 kB / 1.382 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.506e-05/0.3952, allocations: 51.88 kB / 1.382 GB, free: 9.645 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002082/0.3954, allocations: 199.1 kB / 1.382 GB, free: 9.449 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3954, allocations: 0 / 1.382 GB, free: 9.449 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004318/0.3958, allocations: 112 kB / 1.383 GB, free: 9.34 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * 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.00168/0.3975, allocations: 1.459 MB / 1.384 GB, free: 7.793 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.3994, allocations: 1.436 MB / 1.385 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3994, allocations: 0 / 1.385 GB, free: 6.16 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007627/0.4001, allocations: 0.6228 MB / 1.386 GB, free: 5.445 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.4007, allocations: 94 kB / 1.386 GB, free: 5.355 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007767/0.4085, allocations: 5.838 MB / 1.392 GB, free: 15.09 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.4087, allocations: 189 kB / 1.392 GB, free: 14.88 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002573/0.409, allocations: 95.14 kB / 1.392 GB, free: 14.79 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.4091, allocations: 115.4 kB / 1.392 GB, free: 14.68 MB / 1.092 GB Notification: Performance of SimCode: time 9.62e-07/0.4091, allocations: 3.938 kB / 1.392 GB, free: 14.67 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/0.4527, allocations: 11.09 MB / 1.403 GB, free: 3.84 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.29, allocations: 5.625 kB / 1.403 GB, free: 3.836 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.462404098827392]