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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 108.7 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 476.7 MB / 0.7611 GB, free: 11.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 60.09 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9907/0.9928, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.004523/0.9973, allocations: 1.34 MB / 1.27 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003173/1, allocations: 1.565 MB / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/1.001, allocations: 0 / 1.272 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002285/1.001, allocations: 35.55 kB / 1.272 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000333/1.001, allocations: 71.38 kB / 1.272 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/1.003, allocations: 0.4971 MB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0009913/1.004, allocations: 0.6482 MB / 1.273 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/1.004, allocations: 132.9 kB / 1.273 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/1.005, allocations: 255.3 kB / 1.273 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005059/1.005, allocations: 251.1 kB / 1.273 GB, free: 376 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000193/1.005, allocations: 67.94 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/1.006, allocations: 75.98 kB / 1.274 GB, free: 232 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/1.006, allocations: 75.77 kB / 1.274 GB, free: 156 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004515/1.006, allocations: 254.9 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/1.007, allocations: 0.6833 MB / 1.275 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.007, allocations: 4 kB / 1.275 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.074e-06/1.007, allocations: 0 / 1.275 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.243e-05/1.007, allocations: 0 / 1.275 GB, free: 15.21 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.001783/1.009, allocations: 0.9426 MB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/1.009, allocations: 12.03 kB / 1.275 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/1.009, allocations: 70.66 kB / 1.276 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/1.009, allocations: 56.64 kB / 1.276 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.011, allocations: 472.1 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/1.011, allocations: 32.86 kB / 1.276 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/1.011, allocations: 40.38 kB / 1.276 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/1.012, allocations: 329.1 kB / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/1.012, allocations: 0 / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/1.012, allocations: 12 kB / 1.276 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/1.012, allocations: 4 kB / 1.276 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006463/1.012, allocations: 254 kB / 1.277 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/1.014, allocations: 0.9123 MB / 1.278 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/1.015, allocations: 351 kB / 1.278 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/1.015, allocations: 262.8 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/1.015, allocations: 4 kB / 1.278 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006263/1.016, allocations: 326.9 kB / 1.278 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.314e-06/1.016, allocations: 0 / 1.278 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.001728/1.018, allocations: 0.8306 MB / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/1.018, allocations: 195.9 kB / 1.279 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/1.018, allocations: 284.5 kB / 1.28 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.844e-05/1.018, allocations: 45.7 kB / 1.28 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/1.019, allocations: 176.9 kB / 1.28 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/1.019, allocations: 138.8 kB / 1.28 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/1.019, allocations: 134.1 kB / 1.28 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000201/1.019, allocations: 346.8 kB / 1.281 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/1.02, allocations: 284.8 kB / 1.281 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/1.021, allocations: 353.8 kB / 1.281 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/1.022, allocations: 0.909 MB / 1.282 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.022, allocations: 0 / 1.282 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001827/1.024, allocations: 1.002 MB / 1.283 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002213/1.024, allocations: 259.3 kB / 1.283 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.024, allocations: 7.875 kB / 1.283 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.024, allocations: 8.281 kB / 1.283 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/1.024, allocations: 67.89 kB / 1.283 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.024, allocations: 4 kB / 1.283 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/1.025, allocations: 147.6 kB / 1.283 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.025, allocations: 67.92 kB / 1.284 GB, free: 5.352 MB / 0.9825 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.0003532/1.026, allocations: 316.8 kB / 1.284 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/1.026, allocations: 39.77 kB / 1.284 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.984e-05/1.026, allocations: 47.48 kB / 1.284 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.026, allocations: 4 kB / 1.284 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/1.026, allocations: 0 / 1.284 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.026, allocations: 3.984 kB / 1.284 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/1.028, allocations: 1.195 MB / 1.285 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.028, allocations: 0 / 1.285 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/1.028, allocations: 67.89 kB / 1.285 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/1.028, allocations: 0 / 1.285 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/1.028, allocations: 19.98 kB / 1.285 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.028, allocations: 3.938 kB / 1.285 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.028, allocations: 0 / 1.285 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/1.029, allocations: 0.7667 MB / 1.286 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/1.029, allocations: 112.8 kB / 1.286 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/1.029, allocations: 8 kB / 1.286 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/1.03, allocations: 31.91 kB / 1.286 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.03, allocations: 39.95 kB / 1.286 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.7e-05/1.03, allocations: 47.94 kB / 1.286 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000221/1.03, allocations: 199.1 kB / 1.286 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.03, allocations: 0 / 1.286 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004881/1.031, allocations: 115.8 kB / 1.286 GB, free: 2.16 MB / 0.9825 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.001657/1.032, allocations: 1.327 MB / 1.288 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001666/1.034, allocations: 1.042 MB / 1.289 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.034, allocations: 0 / 1.289 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006633/1.035, allocations: 0.5015 MB / 1.289 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/1.035, allocations: 88.47 kB / 1.289 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/1.042, allocations: 4.659 MB / 1.294 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/1.043, allocations: 0.8002 MB / 1.295 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002938/1.043, allocations: 91.2 kB / 1.295 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/1.043, allocations: 115.3 kB / 1.295 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.043, allocations: 0 / 1.295 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/1.081, allocations: 9.868 MB / 1.305 GB, free: 15.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.727/9.808, allocations: 18.84 kB / 1.305 GB, free: 15.4 MB / 1.014 GB " [Timeout remaining time 290] (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_2/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: 16.012445772998035]