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.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.001375/0.001375, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001389/0.001389, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.51/1.51, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 1.134 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017/1.019, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002197/1.022, allocations: 1.349 MB / 1.305 GB, free: 31.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00168/1.023, allocations: 1.566 MB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/1.023, allocations: 6.906 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001464/1.024, allocations: 30.33 kB / 1.307 GB, free: 30.04 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/1.024, allocations: 73.55 kB / 1.307 GB, free: 29.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/1.025, allocations: 0.4964 MB / 1.307 GB, free: 29.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005425/1.025, allocations: 0.6505 MB / 1.308 GB, free: 29.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/1.026, allocations: 130.5 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/1.026, allocations: 253.5 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/1.026, allocations: 249.7 kB / 1.309 GB, free: 29.11 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.544e-05/1.026, allocations: 63.81 kB / 1.309 GB, free: 29.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/1.026, allocations: 82.27 kB / 1.309 GB, free: 29.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/1.026, allocations: 85.03 kB / 1.309 GB, free: 29.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/1.026, allocations: 244 kB / 1.309 GB, free: 28.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005129/1.027, allocations: 0.6784 MB / 1.31 GB, free: 28.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.027, allocations: 0 / 1.31 GB, free: 28.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.835e-06/1.027, allocations: 2.969 kB / 1.31 GB, free: 28.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.356e-05/1.027, allocations: 0 / 1.31 GB, free: 28.66 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.001017/1.028, allocations: 0.9555 MB / 1.311 GB, free: 27.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/1.028, allocations: 9.031 kB / 1.311 GB, free: 27.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/1.028, allocations: 62.16 kB / 1.311 GB, free: 27.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/1.028, allocations: 49.55 kB / 1.311 GB, free: 27.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.029, allocations: 484.3 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/1.029, allocations: 29.45 kB / 1.311 GB, free: 27.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/1.029, allocations: 40.84 kB / 1.311 GB, free: 27.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/1.03, allocations: 320.8 kB / 1.312 GB, free: 27.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.03, allocations: 4 kB / 1.312 GB, free: 27.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/1.03, allocations: 13.28 kB / 1.312 GB, free: 27.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.03, allocations: 5 kB / 1.312 GB, free: 27.29 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/1.031, allocations: 248.2 kB / 1.312 GB, free: 27.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/1.032, allocations: 0.9104 MB / 1.313 GB, free: 26.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/1.032, allocations: 366.9 kB / 1.313 GB, free: 26.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/1.033, allocations: 250.7 kB / 1.313 GB, free: 26.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/1.033, allocations: 6.562 kB / 1.313 GB, free: 26.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/1.033, allocations: 318.4 kB / 1.314 GB, free: 26.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=44): time 2.525e-06/1.033, allocations: 0 / 1.314 GB, free: 26.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=44): time 0.001301/1.035, allocations: 0.8435 MB / 1.315 GB, free: 26.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.035, allocations: 191.8 kB / 1.315 GB, free: 25.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/1.035, allocations: 291.1 kB / 1.315 GB, free: 25.67 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/1.035, allocations: 44.81 kB / 1.315 GB, free: 25.63 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/1.035, allocations: 164.6 kB / 1.315 GB, free: 25.49 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/1.035, allocations: 142.4 kB / 1.315 GB, free: 25.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/1.035, allocations: 130.5 kB / 1.315 GB, free: 25.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.207e-05/1.035, allocations: 347.5 kB / 1.316 GB, free: 25.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/1.036, allocations: 280.8 kB / 1.316 GB, free: 24.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/1.036, allocations: 361.6 kB / 1.316 GB, free: 24.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/1.037, allocations: 0.9153 MB / 1.317 GB, free: 24.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.037, allocations: 0 / 1.317 GB, free: 24.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001381/1.039, allocations: 1.005 MB / 1.318 GB, free: 23.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-05/1.039, allocations: 257.9 kB / 1.319 GB, free: 23.25 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.039, allocations: 6.562 kB / 1.319 GB, free: 23.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.039, allocations: 5.25 kB / 1.319 GB, free: 23.24 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/1.039, allocations: 72.78 kB / 1.319 GB, free: 23.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.039, allocations: 2.625 kB / 1.319 GB, free: 23.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/1.04, allocations: 144.5 kB / 1.319 GB, free: 23.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/1.04, allocations: 66.39 kB / 1.319 GB, free: 23.2 MB / 1.061 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.0002185/1.04, allocations: 316.2 kB / 1.319 GB, free: 22.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/1.04, allocations: 41.38 kB / 1.319 GB, free: 22.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/1.04, allocations: 42.66 kB / 1.319 GB, free: 22.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.04, allocations: 6.625 kB / 1.319 GB, free: 22.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.04, allocations: 3.984 kB / 1.319 GB, free: 22.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.04, allocations: 5.953 kB / 1.319 GB, free: 22.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/1.042, allocations: 1.192 MB / 1.32 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.042, allocations: 0 / 1.32 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/1.042, allocations: 56.95 kB / 1.32 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.042, allocations: 2.469 kB / 1.32 GB, free: 22.12 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/1.042, allocations: 20.66 kB / 1.32 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.042, allocations: 6.562 kB / 1.32 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.042, allocations: 0 / 1.32 GB, free: 22.11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/1.043, allocations: 0.7676 MB / 1.321 GB, free: 21.67 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/1.043, allocations: 114.3 kB / 1.321 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/1.043, allocations: 9.5 kB / 1.321 GB, free: 21.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.043, allocations: 34.58 kB / 1.321 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.043, allocations: 35.19 kB / 1.321 GB, free: 21.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.012e-05/1.043, allocations: 50.45 kB / 1.321 GB, free: 21.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001856/1.044, allocations: 202.2 kB / 1.322 GB, free: 21.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.044, allocations: 0 / 1.322 GB, free: 21.4 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005403/1.044, allocations: 102.5 kB / 1.322 GB, free: 21.39 MB / 1.061 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.001231/1.045, allocations: 1.321 MB / 1.323 GB, free: 20.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001617/1.047, allocations: 1.045 MB / 1.324 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.047, allocations: 0 / 1.324 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006992/1.048, allocations: 0.4885 MB / 1.324 GB, free: 19.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/1.048, allocations: 99.95 kB / 1.325 GB, free: 19.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007258/1.056, allocations: 4.66 MB / 1.329 GB, free: 16.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/1.056, allocations: 0.7967 MB / 1.33 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003326/1.056, allocations: 91.41 kB / 1.33 GB, free: 15.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/1.056, allocations: 120.6 kB / 1.33 GB, free: 15.83 MB / 1.061 GB Notification: Performance of SimCode: time 1.022e-06/1.056, allocations: 0 / 1.33 GB, free: 15.83 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/1.095, allocations: 9.855 MB / 1.34 GB, free: 14.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.838/9.933, allocations: 14.3 kB / 1.34 GB, free: 14.87 MB / 1.061 GB " [Timeout remaining time 290] (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_2/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: 16.265805466100574]