Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002024/0.002024, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002599/0.002599, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.996 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.845/2.845, allocations: 476.7 MB / 0.7707 GB, free: 4.23 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_11_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.002046/0.002046, allocations: 68.69 kB / 1.117 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3476, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002826/0.3504, allocations: 1.352 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3527, allocations: 1.588 MB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.3529, allocations: 3.938 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.353, allocations: 35.55 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.3532, allocations: 75.38 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.3544, allocations: 0.5036 MB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008415/0.3553, allocations: 0.6482 MB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.3556, allocations: 117.3 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.3559, allocations: 259.4 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.3563, allocations: 243.2 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001506/0.3565, allocations: 64 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.3566, allocations: 76 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3567, allocations: 91.61 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.357, allocations: 251 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007785/0.3578, allocations: 0.6816 MB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3578, allocations: 4 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3578, allocations: 0 / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.3578, allocations: 0 / 1.289 GB, free: 5.762 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001408/0.3592, allocations: 0.8729 MB / 1.29 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3593, allocations: 8.031 kB / 1.29 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.7e-05/0.3594, allocations: 66.72 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3595, allocations: 52.7 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.3608, allocations: 413.4 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.3609, allocations: 24.88 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/0.3609, allocations: 40.38 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006777/0.3616, allocations: 320.3 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3616, allocations: 4 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3617, allocations: 8 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3617, allocations: 11.98 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.3623, allocations: 253.8 kB / 1.291 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.3641, allocations: 0.8797 MB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.3648, allocations: 346.7 kB / 1.292 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/0.3653, allocations: 260.7 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3653, allocations: 7.859 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/0.3659, allocations: 323 kB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 1.993e-06/0.3659, allocations: 0 / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001638/0.3676, allocations: 0.8373 MB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.3677, allocations: 195.9 kB / 1.294 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.368, allocations: 288.5 kB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.3681, allocations: 41.7 kB / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.3683, allocations: 176.8 kB / 1.294 GB, free: 108 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.3684, allocations: 135.1 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.3686, allocations: 138.1 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3688, allocations: 346.8 kB / 1.295 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006178/0.3694, allocations: 272.8 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.3701, allocations: 365.4 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.3714, allocations: 0.9088 MB / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3714, allocations: 0 / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001801/0.3732, allocations: 1.002 MB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.3734, allocations: 259.3 kB / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3734, allocations: 0 / 1.298 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3734, allocations: 8 kB / 1.298 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.3737, allocations: 67.89 kB / 1.298 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3737, allocations: 7.938 kB / 1.298 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.3744, allocations: 151.6 kB / 1.298 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.3745, allocations: 63.92 kB / 1.298 GB, free: 12.13 MB / 0.9981 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.0003451/0.3749, allocations: 323.7 kB / 1.298 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.375, allocations: 39.77 kB / 1.298 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.375, allocations: 43.42 kB / 1.298 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3751, allocations: 4 kB / 1.298 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3751, allocations: 3.938 kB / 1.298 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3751, allocations: 0 / 1.298 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.377, allocations: 1.162 MB / 1.3 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.377, allocations: 0 / 1.3 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.3773, allocations: 71.89 kB / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3773, allocations: 0 / 1.3 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.3773, allocations: 12 kB / 1.3 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3773, allocations: 7.922 kB / 1.3 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3773, allocations: 4 kB / 1.3 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.3785, allocations: 0.7642 MB / 1.3 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.3786, allocations: 43.62 kB / 1.3 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.3787, allocations: 8 kB / 1.3 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.3789, allocations: 31.91 kB / 1.3 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/0.379, allocations: 39.94 kB / 1.301 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.3791, allocations: 59.86 kB / 1.301 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002119/0.3793, allocations: 195.1 kB / 1.301 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3793, allocations: 0 / 1.301 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004783/0.3798, allocations: 100 kB / 1.301 GB, free: 9.066 MB / 0.9981 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.001618/0.3814, allocations: 1.327 MB / 1.302 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.3831, allocations: 1.051 MB / 1.303 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3831, allocations: 0 / 1.303 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.3837, allocations: 496.8 kB / 1.304 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.3843, allocations: 93.02 kB / 1.304 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007462/0.3918, allocations: 4.663 MB / 1.308 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.3923, allocations: 0.7923 MB / 1.309 GB, free: 228 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.3925, allocations: 99.12 kB / 1.309 GB, free: 124 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.3927, allocations: 111.4 kB / 1.309 GB, free: 12 kB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/0.3927, allocations: 0 / 1.309 GB, free: 12 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04163/0.4343, allocations: 10.19 MB / 1.319 GB, free: 6.035 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.25, allocations: 8.047 kB / 1.319 GB, free: 6.027 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.012468476081267]